diff options
author | Craig Topper <craig.topper@intel.com> | 2018-09-12 01:57:22 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-09-12 01:57:22 +0000 |
commit | dc32e91bc6015bb394d26de18f3c42225b00a41e (patch) | |
tree | 922d87ba874b0acf925cc21709f17f9a71f0fc69 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | ee9bb8761c4bf51658a806641fff3e452d3116f5 (diff) | |
download | llvm-dc32e91bc6015bb394d26de18f3c42225b00a41e.zip llvm-dc32e91bc6015bb394d26de18f3c42225b00a41e.tar.gz llvm-dc32e91bc6015bb394d26de18f3c42225b00a41e.tar.bz2 |
[X86] Teach X86SelectionDAGInfo::EmitTargetCodeForMemcpy about GNUX32
Summary:
In GNUX23, is64BitMode returns true, but pointers are 32-bits. So we shouldn't copy pointer values into RSI/RDI since the widths don't match.
Fixes PR38865 despite what the title says. I think the llvm_unreachable in the copyPhysReg code tricked the optimizer and made the fatal error trigger.
Reviewers: rnk, efriedma, MatzeB, echristo
Reviewed By: efriedma
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D51893
llvm-svn: 342015
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions