projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a5ee87b9efbbdb9a067c021a1d09abd9b465fe95
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2007-01-13-ExtCompareMiscompile.ll
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep zext
2
; PR1107
3
4
define i1 @test(i8 %A, i8 %B) {
5
%a = zext i8 %A to i32
6
%b = zext i8 %B to i32
7
%c = icmp sgt i32 %a, %b
8
ret i1 %c
9
}