diff options
author | Jakub Staszak <kubastaszak@gmail.com> | 2012-12-12 20:58:42 +0000 |
---|---|---|
committer | Jakub Staszak <kubastaszak@gmail.com> | 2012-12-12 20:58:42 +0000 |
commit | 8b65f82292111ed95d7e05257edf0c1e3a0633f6 (patch) | |
tree | 18166548d110fa937619965343c2cc46a0f50cf1 /test/Transforms/InstCombine | |
parent | 4d96e6f0d105e60b423a118c3c8c7c5ffffae8b2 (diff) | |
download | external_llvm-8b65f82292111ed95d7e05257edf0c1e3a0633f6.zip external_llvm-8b65f82292111ed95d7e05257edf0c1e3a0633f6.tar.gz external_llvm-8b65f82292111ed95d7e05257edf0c1e3a0633f6.tar.bz2 |
unHECKify test fixed by Jacob in r159003.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine')
-rw-r--r-- | test/Transforms/InstCombine/cast.ll | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index b4eb69d..de738bb 100644 --- a/test/Transforms/InstCombine/cast.ll +++ b/test/Transforms/InstCombine/cast.ll @@ -473,14 +473,12 @@ define i64 @test51(i64 %A, i1 %cond) { %F = sext i32 %E to i64 ret i64 %F ; CHECK: @test51 - -; FIXME: disabled, see PR5997 -; HECK-NEXT: %C = and i64 %A, 4294967294 -; HECK-NEXT: %D = or i64 %A, 1 -; HECK-NEXT: %E = select i1 %cond, i64 %C, i64 %D -; HECK-NEXT: %sext = shl i64 %E, 32 -; HECK-NEXT: %F = ashr i64 %sext, 32 -; HECK-NEXT: ret i64 %F +; CHECK-NEXT: %C = and i64 %A, 4294967294 +; CHECK-NEXT: %D = or i64 %A, 1 +; CHECK-NEXT: %E = select i1 %cond, i64 %C, i64 %D +; CHECK-NEXT: %sext = shl i64 %E, 32 +; CHECK-NEXT: %F = ashr exact i64 %sext, 32 +; CHECK-NEXT: ret i64 %F } define i32 @test52(i64 %A) { |