diff options
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify')
-rw-r--r-- | llvm/test/Transforms/IndVarSimplify/avoid-i0.ll | 2 | ||||
-rw-r--r-- | llvm/test/Transforms/IndVarSimplify/preserve-gep-remainder.ll | 2 | ||||
-rw-r--r-- | llvm/test/Transforms/IndVarSimplify/sink-alloca.ll | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/avoid-i0.ll b/llvm/test/Transforms/IndVarSimplify/avoid-i0.ll index 59661fa2e88..22f2e4b718c 100644 --- a/llvm/test/Transforms/IndVarSimplify/avoid-i0.ll +++ b/llvm/test/Transforms/IndVarSimplify/avoid-i0.ll @@ -90,7 +90,7 @@ entry: br label %bb4 bb: ; preds = %bb4 - %0 = volatile load i32* @x, align 4 ; <i32> [#uses=1] + %0 = load volatile i32* @x, align 4 ; <i32> [#uses=1] store i32 %0, i32* %vol.0, align 4 store i32 0, i32* %l_52, align 4 br label %bb2 diff --git a/llvm/test/Transforms/IndVarSimplify/preserve-gep-remainder.ll b/llvm/test/Transforms/IndVarSimplify/preserve-gep-remainder.ll index 2f3100fcafb..a62943d0a51 100644 --- a/llvm/test/Transforms/IndVarSimplify/preserve-gep-remainder.ll +++ b/llvm/test/Transforms/IndVarSimplify/preserve-gep-remainder.ll @@ -14,7 +14,7 @@ loop: %i = phi i64 [ 0, %entry ], [ %i.next, %loop ] %ip = add i64 %i, 1 %p.2.ip.1 = getelementptr [3 x [3 x double]]* %p, i64 2, i64 %ip, i64 1 - volatile store double 0.0, double* %p.2.ip.1 + store volatile double 0.0, double* %p.2.ip.1 %i.next = add i64 %i, 1 br label %loop } diff --git a/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll b/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll index e7d642c9b31..64207d823d2 100644 --- a/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll +++ b/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll @@ -18,8 +18,8 @@ while.cond: ; preds = %while.cond, %entry br i1 %tobool, label %while.end, label %while.cond while.end: ; preds = %while.cond - volatile store i32 0, i32* %result.i - %tmp.i = volatile load i32* %result.i ; <i32> [#uses=0] + store volatile i32 0, i32* %result.i + %tmp.i = load volatile i32* %result.i ; <i32> [#uses=0] ret i32 0 } declare i32 @bar() |