Skip to content

Commit 7f89718

Browse files
committed
Add TODO comment
Change-Id: I7c30d3d3384d5a63bea9a8b4f110260165026911
1 parent 4917b9c commit 7f89718

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ enum { MAX_LANES = 64 };
2929

3030
using namespace llvm;
3131

32+
// TODO -- delete this flag once we have more robust mechanisms to allocate the
33+
// optimal RC for Opc and Dest of MFMA. In particular, there are high RP cases
34+
// where it is better to produce the VGPR form (e.g. if there are VGPR users
35+
// of the MFMA result).
3236
cl::opt<bool> MFMAVGPRForm(
3337
"amdgpu-mfma-vgpr-form", cl::Hidden,
3438
cl::desc("Whether to force use VGPR for Opc and Dest of MFMA. If "

0 commit comments

Comments
 (0)