diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-02 20:42:59 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-02 20:42:59 +0000 |
commit | b3ce947ecf480d586cc52fbca924ecd999340340 (patch) | |
tree | 6cf0a84fd65efa58012d8ed657df8a4a03fe83de | |
parent | f2a3b35a7c7c100797631104a57710ec5f2fdb86 (diff) | |
download | external_llvm-b3ce947ecf480d586cc52fbca924ecd999340340.zip external_llvm-b3ce947ecf480d586cc52fbca924ecd999340340.tar.gz external_llvm-b3ce947ecf480d586cc52fbca924ecd999340340.tar.bz2 |
FileCheck-ize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134348 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll b/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll index 30453d5..e2cd750 100644 --- a/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll +++ b/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll @@ -1,9 +1,14 @@ -; RUN: llc < %s -march=x86 | grep {psrlw \$8, %xmm0} +; RUN: llc < %s -march=x86 | FileCheck %s target datalayout = "e-p:32:32" target triple = "i686-apple-darwin9" define void @test() { - tail call void asm sideeffect "psrlw $0, %xmm0", "X,~{dirflag},~{fpsr},~{flags}"( i32 8 ) - ret void +; CHECK: test: +; CHECK-NOT: ret +; CHECK: psrlw $8, %xmm0 +; CHECK: ret + + tail call void asm sideeffect "psrlw $0, %xmm0", "X,~{dirflag},~{fpsr},~{flags}"( i32 8 ) + ret void } |