aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ/memcmp-01.ll
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-16 10:55:47 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-16 10:55:47 +0000
commit6a079fef4fad3e6c2e07c9e1d0776e20a0b05b1e (patch)
treea9a17235ca1c2d7da4a78b31edb3aca2965731b5 /test/CodeGen/SystemZ/memcmp-01.ll
parent6c51f89498dd813c8dd16e46069decf2897b31b2 (diff)
downloadexternal_llvm-6a079fef4fad3e6c2e07c9e1d0776e20a0b05b1e.zip
external_llvm-6a079fef4fad3e6c2e07c9e1d0776e20a0b05b1e.tar.gz
external_llvm-6a079fef4fad3e6c2e07c9e1d0776e20a0b05b1e.tar.bz2
[SystemZ] Fix handling of 64-bit memcmp results
Generalize r188163 to cope with return types other than MVT::i32, just as the existing visitMemCmpCall code did. I've split this out into a subroutine so that it can be used for other upcoming patches. I also noticed that I'd used the wrong API to record the out chain. It's a load that uses DAG.getRoot() rather than getRoot(), so the out chain should go on PendingLoads. I don't have a testcase for that because we don't do any interesting scheduling on z yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ/memcmp-01.ll')
-rw-r--r--test/CodeGen/SystemZ/memcmp-01.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/SystemZ/memcmp-01.ll b/test/CodeGen/SystemZ/memcmp-01.ll
index 4d8cd14..5f5752b 100644
--- a/test/CodeGen/SystemZ/memcmp-01.ll
+++ b/test/CodeGen/SystemZ/memcmp-01.ll
@@ -1,4 +1,4 @@
-; Test memcmp using CLC.
+; Test memcmp using CLC, with i32 results.
;
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s