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 | f187daf03250b0e1763bf07437d5048f6320789c (patch) | |
tree | 84e2c175c235dc0ee3629aca387401e9e60cfad1 /test/Transforms/GVN/lifetime-simple.ll | |
parent | bc6fccc2682a75a1dcbf8904334bc3b137fdc213 (diff) | |
download | external_llvm-f187daf03250b0e1763bf07437d5048f6320789c.zip external_llvm-f187daf03250b0e1763bf07437d5048f6320789c.tar.gz external_llvm-f187daf03250b0e1763bf07437d5048f6320789c.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/lifetime-simple.ll')
-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 |