[llvm] [AMDGPU] Allocate i1 argument to SGPRs (PR #72461)
Jun Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 29 17:09:06 PDT 2024
================
@@ -63,6 +63,12 @@ struct AMDGPUOutgoingValueHandler : public CallLowering::OutgoingValueHandler {
void assignValueToReg(Register ValVReg, Register PhysReg,
const CCValAssign &VA) override {
+ if (VA.getLocVT() == MVT::i1 &&
+ MIRBuilder.getMF().getSubtarget<GCNSubtarget>().isWave64()) {
----------------
jwanggit86 wrote:
Done.
https://github.com/llvm/llvm-project/pull/72461
More information about the llvm-commits
mailing list