diff options
Diffstat (limited to 'llvm/test/Transforms/ScalarRepl/union-fp-int.ll')
| -rw-r--r-- | llvm/test/Transforms/ScalarRepl/union-fp-int.ll | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/Transforms/ScalarRepl/union-fp-int.ll b/llvm/test/Transforms/ScalarRepl/union-fp-int.ll index 681636b07b4..c8eaeeab24b 100644 --- a/llvm/test/Transforms/ScalarRepl/union-fp-int.ll +++ b/llvm/test/Transforms/ScalarRepl/union-fp-int.ll @@ -1,5 +1,9 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl | llvm-dis | not grep alloca && -; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl | llvm-dis | grep 'bitcast.*float.*i32' +; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl | llvm-dis | \ +; RUN: not grep alloca +; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl | llvm-dis | \ +; RUN: grep {bitcast.*float.*i32} + +implementation int %test(float %X) { %X_addr = alloca float |

