aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
commita779a9899a5e23bd5198973f4709d66cb4bc2e64 (patch)
treef42654f8d9d6b2d0310b31500cedd1a0f93e05bb /test
parent6625eff8ec38095e9dab31294a86555a489e56a4 (diff)
downloadexternal_llvm-a779a9899a5e23bd5198973f4709d66cb4bc2e64.zip
external_llvm-a779a9899a5e23bd5198973f4709d66cb4bc2e64.tar.gz
external_llvm-a779a9899a5e23bd5198973f4709d66cb4bc2e64.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')
-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