diff options
author | Owen Anderson <resistor@mac.com> | 2009-12-02 07:35:19 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-12-02 07:35:19 +0000 |
commit | 9ff5a23186f8761d9e5b4b5adf6fae9ce7d63860 (patch) | |
tree | 84e2c175c235dc0ee3629aca387401e9e60cfad1 /test/Transforms/GVN | |
parent | 720e790480fed373752b84c178c1a9798d4415b8 (diff) | |
download | external_llvm-9ff5a23186f8761d9e5b4b5adf6fae9ce7d63860.zip external_llvm-9ff5a23186f8761d9e5b4b5adf6fae9ce7d63860.tar.gz external_llvm-9ff5a23186f8761d9e5b4b5adf6fae9ce7d63860.tar.bz2 |
Cleanup/remove some parts of the lifetime region handling code in memdep and GVN,
per Chris' comments. Adjust testcases to match.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GVN')
-rw-r--r-- | test/Transforms/GVN/lifetime-simple.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/GVN/lifetime-simple.ll b/test/Transforms/GVN/lifetime-simple.ll index 00a0c29..8139246 100644 --- a/test/Transforms/GVN/lifetime-simple.ll +++ b/test/Transforms/GVN/lifetime-simple.ll @@ -4,9 +4,9 @@ target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f3 target triple = "i386-apple-darwin7" define i8 @test(i8* %P) nounwind { -; CHECK: @test +; CHECK: lifetime.start ; CHECK-NOT: load -; CHECK: ret i8 undef +; CHECK: lifetime.end entry: call void @llvm.lifetime.start(i64 32, i8* %P) %0 = load i8* %P |