diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-06-27 09:38:48 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-06-27 09:38:48 +0000 |
commit | a6e12b575676875d9ff8f3c01e0cd44ab1210d3a (patch) | |
tree | b36f3aeea3ef8b7da2e66a254b4997d8d20f99c2 /test/CodeGen/SystemZ/args-03.ll | |
parent | 722e9e6d0a5b67d136be40bc015abc5b0b32f97b (diff) | |
download | external_llvm-a6e12b575676875d9ff8f3c01e0cd44ab1210d3a.zip external_llvm-a6e12b575676875d9ff8f3c01e0cd44ab1210d3a.tar.gz external_llvm-a6e12b575676875d9ff8f3c01e0cd44ab1210d3a.tar.bz2 |
[SystemZ] Allow immediate moves to be rematerialized
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ/args-03.ll')
-rw-r--r-- | test/CodeGen/SystemZ/args-03.ll | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/test/CodeGen/SystemZ/args-03.ll b/test/CodeGen/SystemZ/args-03.ll index f954d58..28c3338 100644 --- a/test/CodeGen/SystemZ/args-03.ll +++ b/test/CodeGen/SystemZ/args-03.ll @@ -18,16 +18,15 @@ declare void @bar(i8 zeroext, i16 zeroext, i32 zeroext, i64, float, double, ; normally use %f0/%f2 as the first available 128-bit pair. This choice ; is hard-coded in the FP128 tests. ; -; The order of the CHECK-INT loads doesn't matter. The same goes for the -; CHECK_FP128-* stores and the CHECK-STACK stores. It would be OK to reorder +; The order of the CHECK-STACK stores doesn't matter. It would be OK to reorder ; them in response to future code changes. define void @foo() { ; CHECK-INT: foo: -; CHECK-INT: lghi %r2, 255 -; CHECK-INT: llill %r3, 65534 -; CHECK-INT: llilf %r4, 4294967293 -; CHECK-INT: lghi %r5, -4 -; CHECK-INT: la %r6, {{224|240}}(%r15) +; CHECK-INT-DAG: lghi %r2, 255 +; CHECK-INT-DAG: llill %r3, 65534 +; CHECK-INT-DAG: llilf %r4, 4294967293 +; CHECK-INT-DAG: lghi %r5, -4 +; CHECK-INT-DAG: la %r6, {{224|240}}(%r15) ; CHECK-INT: brasl %r14, bar@PLT ; ; CHECK-FLOAT: foo: @@ -43,15 +42,15 @@ define void @foo() { ; CHECK-FP128-1: foo: ; CHECK-FP128-1: aghi %r15, -256 ; CHECK-FP128-1: lzxr %f0 -; CHECK-FP128-1: std %f0, 224(%r15) -; CHECK-FP128-1: std %f2, 232(%r15) +; CHECK-FP128-1-DAG: std %f0, 224(%r15) +; CHECK-FP128-1-DAG: std %f2, 232(%r15) ; CHECK-FP128-1: brasl %r14, bar@PLT ; ; CHECK-FP128-2: foo: ; CHECK-FP128-2: aghi %r15, -256 ; CHECK-FP128-2: lzxr %f0 -; CHECK-FP128-2: std %f0, 240(%r15) -; CHECK-FP128-2: std %f2, 248(%r15) +; CHECK-FP128-2-DAG: std %f0, 240(%r15) +; CHECK-FP128-2-DAG: std %f2, 248(%r15) ; CHECK-FP128-2: brasl %r14, bar@PLT ; ; CHECK-STACK: foo: |