Test for actual support, not just for lack of crashage
authorChris Lattner <sabre@nondot.org>
Sun, 15 Feb 2004 01:21:39 +0000 (01:21 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 15 Feb 2004 01:21:39 +0000 (01:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11460 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2004-02-13-FrameReturnAddress.llx

index dae1ea9ac1f3ba61d6d4e71ee786f3777d15ab8e..517f1f56eca1f24b93c779ceb0acc5c8a0eb6e2e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc
+; RUN: llvm-as < %s | llc -march=x86 | grep ESP | grep '\['
 
 declare sbyte* %llvm.returnaddress(uint)
 declare sbyte* %llvm.frameaddress(uint)