[PATCH] D37640: [GISel]: Fix generation of illegal COPYs (of different sizes) during CallLowering

Aditya Nandakumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 15:02:07 PDT 2017


aditya_nandakumar updated this revision to Diff 117428.
aditya_nandakumar added a comment.

Updated ARM-irtranslator.ll test to account for extendRegister emitting G_ANYEXT.

Now, all of the backends pass tests - but LowerFormalArguments still generates wrong (truncating) copies. This will likely be an issue when https://reviews.llvm.org/D37775 lands
Could someone familiar with ARM codebase implement that?


https://reviews.llvm.org/D37640

Files:
  include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
  lib/CodeGen/GlobalISel/CallLowering.cpp
  lib/Target/AArch64/AArch64CallLowering.cpp
  lib/Target/X86/X86CallLowering.cpp
  test/CodeGen/AArch64/GlobalISel/arm64-callingconv.ll
  test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
  test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
  test/CodeGen/AArch64/GlobalISel/call-translator.ll
  test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll
  test/CodeGen/X86/GlobalISel/add-scalar.ll
  test/CodeGen/X86/GlobalISel/callingconv.ll
  test/CodeGen/X86/GlobalISel/ext-x86-64.ll
  test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37640.117428.patch
Type: text/x-patch
Size: 20501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171002/fbaa796f/attachment.bin>


More information about the llvm-commits mailing list