projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mips] Invert the abicalls feature bit to be noabicalls so that it's possible for...
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-07-10-ICmpBinOp.ll
1
; RUN: opt < %s -instcombine -S | not grep add
2
; RUN: opt < %s -instcombine -S | not grep mul
3
; PR2330
4
5
define i1 @f(i32 %x, i32 %y) nounwind {
6
entry:
7
%A = add i32 %x, 5
8
%B = add i32 %y, 5
9
%C = icmp eq i32 %A, %B
10
ret i1 %C
11
}
12
13
define i1 @g(i32 %x, i32 %y) nounwind {
14
entry:
15
%A = mul i32 %x, 5
16
%B = mul i32 %y, 5
17
%C = icmp eq i32 %A, %B
18
ret i1 %C
19
}