summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll')
-rw-r--r--test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll b/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
index 422d68e7ff498..de95e7925f08a 100644
--- a/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
+++ b/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]