projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove a test that was ported from the old llvm-gcc frontend test suite.
[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
}