diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-14 18:30:06 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-14 18:30:06 +0000 |
| commit | 7e4bde71c5ccf0226dad12fac0dbb17492932bb9 (patch) | |
| tree | 48e40289eb66caf54fbcfb177830d2b9187cc8b0 /llvm/test/Transforms | |
| parent | 26f762270fa5dcd4d4cbe0068da8fb8a7aeeaad8 (diff) | |
| download | bcm5719-llvm-7e4bde71c5ccf0226dad12fac0dbb17492932bb9.tar.gz bcm5719-llvm-7e4bde71c5ccf0226dad12fac0dbb17492932bb9.zip | |
bool -> i1 (found by llvm.exp)
llvm-svn: 36005
Diffstat (limited to 'llvm/test/Transforms')
| -rw-r--r-- | llvm/test/Transforms/InstCombine/apint-div1.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Transforms/InstCombine/apint-div2.ll | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/llvm/test/Transforms/InstCombine/apint-div1.ll b/llvm/test/Transforms/InstCombine/apint-div1.ll index acac95c0eb8..e9aa579b958 100644 --- a/llvm/test/Transforms/InstCombine/apint-div1.ll +++ b/llvm/test/Transforms/InstCombine/apint-div1.ll @@ -15,7 +15,7 @@ define i49 @test2(i49 %X) { ret i49 %Y } -define i59 @test3(i59 %X, bool %C) { +define i59 @test3(i59 %X, i1 %C) { %V = select i1 %C, i59 1024, i59 4096 %R = udiv i59 %X, %V ret i59 %R diff --git a/llvm/test/Transforms/InstCombine/apint-div2.ll b/llvm/test/Transforms/InstCombine/apint-div2.ll index ba849e22f86..2aa2c3a4ac2 100644 --- a/llvm/test/Transforms/InstCombine/apint-div2.ll +++ b/llvm/test/Transforms/InstCombine/apint-div2.ll @@ -1,7 +1,6 @@ ; This test makes sure that div instructions are properly eliminated. ; This test is for Integer BitWidth >= 64 && BitWidth <= 1024. ; - ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div @@ -16,8 +15,8 @@ define i499 @test2(i499 %X) { ret i499 %Y } -define i599 @test3(i599 %X, bool %C) { - %V = select bool %C, i599 70368744177664, i599 4096 +define i599 @test3(i599 %X, i1 %C) { + %V = select i1 %C, i599 70368744177664, i599 4096 %R = udiv i599 %X, %V ret i599 %R } |

