diff options
Diffstat (limited to 'test/CodeGen/X86/compare-add.ll')
-rw-r--r-- | test/CodeGen/X86/compare-add.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/compare-add.ll b/test/CodeGen/X86/compare-add.ll new file mode 100644 index 0000000..d3d7668 --- /dev/null +++ b/test/CodeGen/X86/compare-add.ll @@ -0,0 +1,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 +} + |