[PATCH] D64862: AMDGPU/GlobalISel: RegBankSelect interp intrinsics
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 03:45:37 PDT 2019
arsenm marked an inline comment as done.
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp:1332
+ // Waterfall loop for m0 value, which is always the last operand.
+ executeInWaterfallLoop(MI, MRI, { MI.getNumOperands() - 1 });
+ return;
----------------
nhaehnle wrote:
> We don't waterfall these in the non-GlobalISel path as far as I can tell? Should just use readfirstlane if necessary.
I think this is more of a defect in SelectionDAG because handling this correctly is hard. I’m considering adding a pseudo UniformVGPR register bank for cases where readfirstlane is OK
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64862/new/
https://reviews.llvm.org/D64862
More information about the llvm-commits
mailing list