diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-08-16 10:55:47 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-08-16 10:55:47 +0000 |
commit | e3827751e2f70d61e998233661e90a7daecb9745 (patch) | |
tree | fd2085afee5d44c723d386afcff0b81ce2be1d0f /llvm/lib/Target/TargetLoweringObjectFile.cpp | |
parent | 37b3f73690ef61d74bb5b7dcc7c64de49bad1ea1 (diff) | |
download | bcm5719-llvm-e3827751e2f70d61e998233661e90a7daecb9745.tar.gz bcm5719-llvm-e3827751e2f70d61e998233661e90a7daecb9745.zip |
[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.
llvm-svn: 188540
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions