summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/compare-add.ll
blob: d3d7668a394e909e905aec35844ca9b6c2f998dc (plain)
1
2
3
4
5
6
7
; 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
}