diff options
author | Eli Bendersky <eliben@google.com> | 2013-02-13 22:00:37 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-02-13 22:00:37 +0000 |
commit | fa7c9efcd320db20243c94daf132ab101f87f1f1 (patch) | |
tree | bca90b0010ed681b96f6f120a241b43c1d4b1c94 /test/Transforms/ScalarRepl/volatile.ll | |
parent | 48aaf5fd02bbdcde0935929f0c5bf08b1f8f20b8 (diff) | |
download | external_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.ll | 5 |
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 } |