xref: /minix3/external/bsd/llvm/dist/llvm/test/CodeGen/X86/compare-add.ll (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc; RUN: llc < %s -march=x86 | not grep add
2*f4a2713aSLionel Sambuc
3*f4a2713aSLionel Sambucdefine i1 @X(i32 %X) {
4*f4a2713aSLionel Sambuc        %Y = add i32 %X, 14             ; <i32> [#uses=1]
5*f4a2713aSLionel Sambuc        %Z = icmp ne i32 %Y, 12345              ; <i1> [#uses=1]
6*f4a2713aSLionel Sambuc        ret i1 %Z
7*f4a2713aSLionel Sambuc}
8*f4a2713aSLionel Sambuc
9