aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/compare-add.ll
blob: 866e36b17d5320d3a5d2cf843b025c53082f46c2 (plain)
1
2
3
4
5
6
7
8
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 &&
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep add
bool %X(int %X) {
        %Y = add int %X, 14
        %Z = setne int %Y, 12345
        ret bool %Z
}