summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
diff options
context:
space:
mode:
authorKevin B. Smith <kevin.b.smith@intel.com>2015-10-07 18:21:41 +0000
committerKevin B. Smith <kevin.b.smith@intel.com>2015-10-07 18:21:41 +0000
commit99e8c0fffbc17427bf57d6d9debd1b772862a4b0 (patch)
tree87a1b556c42be86ac58d2045e1f93492e780e83f /llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
parent87c647aee116dfb144505fb0e6526ea49e5e864a (diff)
downloadbcm5719-llvm-99e8c0fffbc17427bf57d6d9debd1b772862a4b0.tar.gz
bcm5719-llvm-99e8c0fffbc17427bf57d6d9debd1b772862a4b0.zip
[X86]Update test to use FileCheck.
Updates this test to use FileCheck and a single llc invocation rather than 3 llc invocations and grep. llvm-svn: 249583
Diffstat (limited to 'llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll')
-rw-r--r--llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll b/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
index 422d68e7ff4..de95e7925f0 100644
--- a/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
+++ b/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
@@ -1,8 +1,10 @@
-; RUN: llc < %s -march=x86 | not grep movsd
-; RUN: llc < %s -march=x86 | grep movw
-; RUN: llc < %s -march=x86 | grep addw
+; RUN: llc < %s -march=x86 | FileCheck %s
; These transforms are turned off for load volatiles and stores.
; Check that they weren't turned off for all loads and stores!
+; CHECK-LABEL: f:
+; CHECK-NOT: movsd
+; CHECK: movw
+; CHECK: addw
@atomic = global double 0.000000e+00 ; <double*> [#uses=1]
@atomic2 = global double 0.000000e+00 ; <double*> [#uses=1]
OpenPOWER on IntegriCloud