diff options
| author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-07-19 16:21:55 +0000 |
|---|---|---|
| committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-07-19 16:21:55 +0000 |
| commit | 0175b4a3539b9bd5430ec47ff6f5cb7fac25f974 (patch) | |
| tree | a3456962755c800d2586c64373c3019c3f601143 /llvm/test/CodeGen/SystemZ/atomicrmw-and-03.ll | |
| parent | 34869503cb814221b3260399835e02f68e69ee02 (diff) | |
| download | bcm5719-llvm-0175b4a3539b9bd5430ec47ff6f5cb7fac25f974.tar.gz bcm5719-llvm-0175b4a3539b9bd5430ec47ff6f5cb7fac25f974.zip | |
[SystemZ] Add NRK, ORK and XRK
The atomic tests assume the two-operand forms, so I've restricted them to z10.
Running and-01.ll, or-01.ll and xor-01.ll for z196 as well as z10 shows why
using convertToThreeAddress() is better than exposing the three-operand forms
first and then converting back to two operands where possible (which is what
I'd originally tried). Using the three-operand form first stops us from
taking advantage of NG, OG and XG for spills.
llvm-svn: 186683
Diffstat (limited to 'llvm/test/CodeGen/SystemZ/atomicrmw-and-03.ll')
| -rw-r--r-- | llvm/test/CodeGen/SystemZ/atomicrmw-and-03.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/SystemZ/atomicrmw-and-03.ll b/llvm/test/CodeGen/SystemZ/atomicrmw-and-03.ll index dd02828ad83..6c7ba23e1b9 100644 --- a/llvm/test/CodeGen/SystemZ/atomicrmw-and-03.ll +++ b/llvm/test/CodeGen/SystemZ/atomicrmw-and-03.ll @@ -1,6 +1,6 @@ ; Test 32-bit atomic ANDs. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s +; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 | FileCheck %s ; Check ANDs of a variable. define i32 @f1(i32 %dummy, i32 *%src, i32 %b) { |

