commit | 6a144a2227f8aaf6d4c49bc22f5424a34b778166 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Nov 27 06:54:59 2011 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Nov 27 06:54:59 2011 +0000 |
tree | 3a12469469c418eae050475d7c2cce599c3c5a67 | |
parent | ebed15e973d903cfe012bd0875840499602e2f44 [diff] [blame] |
Upgrade syntax of tests using volatile instructions to use 'load volatile' instead of 'volatile load', which is archaic. llvm-svn: 145171
diff --git a/llvm/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll b/llvm/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll index 85df09e..b7e4d1f 100644 --- a/llvm/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll +++ b/llvm/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll
@@ -4,6 +4,6 @@ @g = global i32 0 ; <i32*> [#uses=1] define i32 @f() { - %t = volatile load i32* @g ; <i32> [#uses=1] + %t = load volatile i32* @g ; <i32> [#uses=1] ret i32 %t }