diff options
author | Chris Lattner <sabre@nondot.org> | 2011-11-27 06:54:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-11-27 06:54:59 +0000 |
commit | 6a144a2227f8aaf6d4c49bc22f5424a34b778166 (patch) | |
tree | 3a12469469c418eae050475d7c2cce599c3c5a67 /llvm/test/CodeGen/MSP430/2009-08-25-DynamicStackAlloc.ll | |
parent | ebed15e973d903cfe012bd0875840499602e2f44 (diff) | |
download | bcm5719-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/MSP430/2009-08-25-DynamicStackAlloc.ll')
-rw-r--r-- | llvm/test/CodeGen/MSP430/2009-08-25-DynamicStackAlloc.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/MSP430/2009-08-25-DynamicStackAlloc.ll b/llvm/test/CodeGen/MSP430/2009-08-25-DynamicStackAlloc.ll index 088d3e1e7b3..e8c0d14afd2 100644 --- a/llvm/test/CodeGen/MSP430/2009-08-25-DynamicStackAlloc.ll +++ b/llvm/test/CodeGen/MSP430/2009-08-25-DynamicStackAlloc.ll @@ -6,8 +6,8 @@ target triple = "msp430-generic-generic" define i16 @foo() nounwind readnone { entry: %result = alloca i16, align 1 ; <i16*> [#uses=2] - volatile store i16 0, i16* %result - %tmp = volatile load i16* %result ; <i16> [#uses=1] + store volatile i16 0, i16* %result + %tmp = load volatile i16* %result ; <i16> [#uses=1] ret i16 %tmp } @@ -22,8 +22,8 @@ while.cond: ; preds = %while.cond, %entry while.end: ; preds = %while.cond %result.i = alloca i16, align 1 ; <i16*> [#uses=2] - volatile store i16 0, i16* %result.i - %tmp.i = volatile load i16* %result.i ; <i16> [#uses=0] + store volatile i16 0, i16* %result.i + %tmp.i = load volatile i16* %result.i ; <i16> [#uses=0] ret i16 0 } |