summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/volatile.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/volatile.ll')
-rw-r--r--test/CodeGen/X86/volatile.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/X86/volatile.ll b/test/CodeGen/X86/volatile.ll
index 2e5742a..1a82014 100644
--- a/test/CodeGen/X86/volatile.ll
+++ b/test/CodeGen/X86/volatile.ll
@@ -4,14 +4,14 @@
@x = external global double
define void @foo() nounwind {
- %a = volatile load double* @x
- volatile store double 0.0, double* @x
- volatile store double 0.0, double* @x
- %b = volatile load double* @x
+ %a = load volatile double* @x
+ store volatile double 0.0, double* @x
+ store volatile double 0.0, double* @x
+ %b = load volatile double* @x
ret void
}
define void @bar() nounwind {
- %c = volatile load double* @x
+ %c = load volatile double* @x
ret void
}
OpenPOWER on IntegriCloud