[PATCH] D47425: [AArch64][GlobalISel] Zero-extend s1 values when returning.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 31 11:25:00 PDT 2018


efriedma added inline comments.


================
Comment at: lib/Target/AArch64/AArch64CallLowering.cpp:224
 bool AArch64CallLowering::lowerReturn(MachineIRBuilder &MIRBuilder,
                                       const Value *Val, unsigned VReg) const {
   MachineFunction &MF = MIRBuilder.getMF();
----------------
Do you also need to modify argument passing, to handle something like `void a(void x(_Bool)) { x(1); }`?


Repository:
  rL LLVM

https://reviews.llvm.org/D47425





More information about the llvm-commits mailing list