projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This implements the second half of the fix for PR3290, handling
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
apint-div1.ll
diff --git
a/test/Transforms/InstCombine/apint-div1.ll
b/test/Transforms/InstCombine/apint-div1.ll
index acac95c0eb8472798adffdcdca42265451558a10..e9aa579b958356cc63b455b4e308c46581e04e5c 100644
(file)
--- a/
test/Transforms/InstCombine/apint-div1.ll
+++ b/
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