summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-11-27 06:54:59 +0000
committerChris Lattner <sabre@nondot.org>2011-11-27 06:54:59 +0000
commit6a144a2227f8aaf6d4c49bc22f5424a34b778166 (patch)
tree3a12469469c418eae050475d7c2cce599c3c5a67 /llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
parentebed15e973d903cfe012bd0875840499602e2f44 (diff)
downloadbcm5719-llvm-6a144a2227f8aaf6d4c49bc22f5424a34b778166.tar.gz
bcm5719-llvm-6a144a2227f8aaf6d4c49bc22f5424a34b778166.zip
Upgrade syntax of tests using volatile instructions to use 'load volatile' instead of 'volatile load', which is archaic.
llvm-svn: 145171
Diffstat (limited to 'llvm/test/CodeGen/Mips/2010-07-20-Switch.ll')
-rw-r--r--llvm/test/CodeGen/Mips/2010-07-20-Switch.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll b/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
index 5425bdf4f83..83b8a250c20 100644
--- a/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
+++ b/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
@@ -3,8 +3,8 @@
define i32 @main() nounwind readnone {
entry:
%x = alloca i32, align 4 ; <i32*> [#uses=2]
- volatile store i32 2, i32* %x, align 4
- %0 = volatile load i32* %x, align 4 ; <i32> [#uses=1]
+ store volatile i32 2, i32* %x, align 4
+ %0 = load volatile i32* %x, align 4 ; <i32> [#uses=1]
; CHECK: lui $3, %hi($JTI0_0)
; CHECK: addiu $3, $3, %lo($JTI0_0)
; CHECK: sll $2, $2, 2
OpenPOWER on IntegriCloud