From 29dd2d7d15aeeb6cf2502e7056f4915ed2ba45e0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 2 Feb 2006 06:35:38 +0000 Subject: [PATCH] new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25897 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/compare-add.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/CodeGen/X86/compare-add.ll diff --git a/test/CodeGen/X86/compare-add.ll b/test/CodeGen/X86/compare-add.ll new file mode 100644 index 00000000000..5665ad48298 --- /dev/null +++ b/test/CodeGen/X86/compare-add.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86 && +; RUN: llvm-as < %s | llc -march=x86 | not grep add +bool %X(int %X) { + %Y = add int %X, 14 + %Z = setne int %Y, 12345 + ret bool %Z +} + -- 2.34.1