aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Analysis/LoadVN/RLE-Preserve-Volatile.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/LoadVN/RLE-Preserve-Volatile.ll b/test/Analysis/LoadVN/RLE-Preserve-Volatile.ll
index 6831ef0bc1..1d760afe90 100644
--- a/test/Analysis/LoadVN/RLE-Preserve-Volatile.ll
+++ b/test/Analysis/LoadVN/RLE-Preserve-Volatile.ll
@@ -2,8 +2,8 @@
; RUN: llvm-as < %s | opt -load-vn -gcse -instcombine | dis | grep sub
int %test(int* %P) {
- %X = load volatile int* %P
- %Y = load volatile int* %P
+ %X = volatile load int* %P
+ %Y = volatile load int* %P
%Z = sub int %X, %Y
ret int %Z
}