aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/ScalarRepl/volatile.ll
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-02-13 22:00:37 +0000
committerEli Bendersky <eliben@google.com>2013-02-13 22:00:37 +0000
commitfa7c9efcd320db20243c94daf132ab101f87f1f1 (patch)
treebca90b0010ed681b96f6f120a241b43c1d4b1c94 /test/Transforms/ScalarRepl/volatile.ll
parent48aaf5fd02bbdcde0935929f0c5bf08b1f8f20b8 (diff)
downloadexternal_llvm-fa7c9efcd320db20243c94daf132ab101f87f1f1.zip
external_llvm-fa7c9efcd320db20243c94daf132ab101f87f1f1.tar.gz
external_llvm-fa7c9efcd320db20243c94daf132ab101f87f1f1.tar.bz2
s/grep/FileCheck/ in some tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ScalarRepl/volatile.ll')
-rw-r--r--test/Transforms/ScalarRepl/volatile.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Transforms/ScalarRepl/volatile.ll b/test/Transforms/ScalarRepl/volatile.ll
index 056526c..d506cdf 100644
--- a/test/Transforms/ScalarRepl/volatile.ll
+++ b/test/Transforms/ScalarRepl/volatile.ll
@@ -1,12 +1,13 @@
-; RUN: opt < %s -scalarrepl -S | grep "load volatile"
-; RUN: opt < %s -scalarrepl -S | grep "store volatile"
+; RUN: opt < %s -scalarrepl -S | FileCheck %s
define i32 @voltest(i32 %T) {
%A = alloca {i32, i32}
%B = getelementptr {i32,i32}* %A, i32 0, i32 0
store volatile i32 %T, i32* %B
+; CHECK: store volatile
%C = getelementptr {i32,i32}* %A, i32 0, i32 1
%X = load volatile i32* %C
+; CHECK: load volatile
ret i32 %X
}