Skip to content

Commit ccd6a1f

Browse files
committed
Add todos
1 parent 352ee93 commit ccd6a1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,8 @@ static unsigned inlineAsmGetNumRequiredAGPRs(const InlineAsm *IA,
12211221
unsigned MaxPhysReg = 0;
12221222
const DataLayout &DL = Call.getFunction()->getParent()->getDataLayout();
12231223

1224+
// TODO: Underestimates due to not accounting for tuple alignment requirements
1225+
// TODO: Overestimates due to not accounting for tied operands
12241226
for (const InlineAsm::ConstraintInfo &CI : IA->ParseConstraints()) {
12251227
Type *Ty = nullptr;
12261228
switch (CI.Type) {

0 commit comments

Comments
 (0)