aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/xor_not.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-05 00:28:39 +0000
committerDan Gohman <gohman@apple.com>2008-05-05 00:28:39 +0000
commita65530a04a5ad39718ea0ac848a7d329117a1b2f (patch)
treef42654f8d9d6b2d0310b31500cedd1a0f93e05bb /test/CodeGen/X86/xor_not.ll
parent4fbf00ba28ee2163b6aaece9bca4dffed3167f07 (diff)
downloadexternal_llvm-a65530a04a5ad39718ea0ac848a7d329117a1b2f.zip
external_llvm-a65530a04a5ad39718ea0ac848a7d329117a1b2f.tar.gz
external_llvm-a65530a04a5ad39718ea0ac848a7d329117a1b2f.tar.bz2
Add AsmPrinter support for emitting a directive to declare that
the code being generated does not require an executable stack. Also, add target-specific code to make use of this on Linux on x86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/xor_not.ll')
-rw-r--r--test/CodeGen/X86/xor_not.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/xor_not.ll b/test/CodeGen/X86/xor_not.ll
index de740cf..1e89ca8 100644
--- a/test/CodeGen/X86/xor_not.ll
+++ b/test/CodeGen/X86/xor_not.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep {not} | count 3
-; RUN: llvm-as < %s | llc -march=x86-64 | grep {not} | count 4
+; RUN: llvm-as < %s | llc -march=x86 | grep {not\[lwb\]} | count 3
+; RUN: llvm-as < %s | llc -march=x86-64 | grep {not\[lwb\]} | count 4
define i32 @test(i32 %a, i32 %b) nounwind {
entry:
%tmp1not = xor i32 %b, -2