diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-27 06:31:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-27 06:31:14 +0000 |
commit | 62deff066c5ee4474be80ed2d95aca010e237343 (patch) | |
tree | 68b55ad5e3f3fdfcc8db6e377958569b3f184a48 /test/Transforms/GVN/rle-phi-translate.ll | |
parent | b99be5beac847a92a56af21131da56a94b194bf2 (diff) | |
download | external_llvm-62deff066c5ee4474be80ed2d95aca010e237343.zip external_llvm-62deff066c5ee4474be80ed2d95aca010e237343.tar.gz external_llvm-62deff066c5ee4474be80ed2d95aca010e237343.tar.bz2 |
Fix phi translation in load PRE to agree with the phi
translation done by memdep, and reenable gep translation
again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GVN/rle-phi-translate.ll')
-rw-r--r-- | test/Transforms/GVN/rle-phi-translate.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Transforms/GVN/rle-phi-translate.ll b/test/Transforms/GVN/rle-phi-translate.ll index 738e7b5..912f580 100644 --- a/test/Transforms/GVN/rle-phi-translate.ll +++ b/test/Transforms/GVN/rle-phi-translate.ll @@ -80,9 +80,9 @@ bb2: %i = phi i32 [ 7, %bb1 ], [ 17, %bb ] %d1 = getelementptr i32* %d, i32 %i %dv = load i32* %d1 -; HECK: %dv = phi i32 [ 82, %bb1 ], [ 4, %bb ] -; HECK-NOT: load -; HECK: ret i32 %dv +; CHECK: %dv = phi i32 [ 82, %bb1 ], [ 4, %bb ] +; CHECK-NOT: load +; CHECK: ret i32 %dv ret i32 %dv } @@ -106,9 +106,9 @@ bb2: %i = phi i32 [ 7, %bb1 ], [ 0, %bb ] %d1 = getelementptr i32* %d, i32 %i %dv = load i32* %d1 -; HECK: %dv = phi i32 [ 82, %bb1 ], [ 4, %bb ] -; HECK-NOT: load -; HECK: ret i32 %dv +; CHECK: %dv = phi i32 [ 82, %bb1 ], [ 4, %bb ] +; CHECK-NOT: load +; CHECK: ret i32 %dv ret i32 %dv } |