YouCompleteMe/cpp/llvm/test/CodeGen/X86/compare-add.ll
2012-07-05 17:51:06 -07:00

9 lines
210 B
LLVM

; RUN: llc < %s -march=x86 | not grep add
define i1 @X(i32 %X) {
%Y = add i32 %X, 14 ; <i32> [#uses=1]
%Z = icmp ne i32 %Y, 12345 ; <i1> [#uses=1]
ret i1 %Z
}