[PATCH] D75863: [AIX] Implement by-val caller arguments in a single register

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 10:51:17 PDT 2020


sfertile added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:7125
+        }
+        SDValue Load = DAG.getExtLoad(ISD::EXTLOAD, dl, PtrVT, Chain, LoadAddr,
+                                      MachinePointerInfo(), VT);
----------------
IIUC EXTLOAD is safe for the first load because it will be left justified in the register after the shift,  but the later loads need the upper bits defined to zero because we are ORing them into those shifted bits. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75863/new/

https://reviews.llvm.org/D75863





More information about the llvm-commits mailing list