diff options
author | Duncan Sands <baldrick@free.fr> | 2010-12-15 14:07:39 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-12-15 14:07:39 +0000 |
commit | fea3b218d61708ea3577f4ef14c8f7677a94db95 (patch) | |
tree | 571796a15314c0f6b38ba91fe520752cd13e4d83 /test/Analysis | |
parent | f8b1a5ea9602bb65a5cf59d3d34f2851a08cdc3e (diff) | |
download | external_llvm-fea3b218d61708ea3577f4ef14c8f7677a94db95.zip external_llvm-fea3b218d61708ea3577f4ef14c8f7677a94db95.tar.gz external_llvm-fea3b218d61708ea3577f4ef14c8f7677a94db95.tar.bz2 |
Move Sub simplifications and additional Add simplifications out of
instcombine and into InstructionSimplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r-- | test/Analysis/BasicAA/modref.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/BasicAA/modref.ll b/test/Analysis/BasicAA/modref.ll index 54d10e7..ec0c8a7 100644 --- a/test/Analysis/BasicAA/modref.ll +++ b/test/Analysis/BasicAA/modref.ll @@ -105,7 +105,7 @@ define i32 @test4(i8* %P) { ; CHECK: load i32* @G ; CHECK: memset.p0i8.i32 ; CHECK-NOT: load -; CHECK: sub i32 %tmp, %tmp +; CHECK: ret i32 0 } ; Verify that basicaa is handling variable length memcpy, knowing it doesn't @@ -120,7 +120,7 @@ define i32 @test5(i8* %P, i32 %Len) { ; CHECK: load i32* @G ; CHECK: memcpy.p0i8.p0i8.i32 ; CHECK-NOT: load -; CHECK: sub i32 %tmp, %tmp +; CHECK: ret i32 0 } define i8 @test6(i8* %p, i8* noalias %a) { |