Skip to content

Commit 5d058ee

Browse files
committed
Made comment clearer
1 parent 7a21ee3 commit 5d058ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,9 @@ bool RISCVInstructionSelector::select(MachineInstr &MI) {
240240
case TargetOpcode::G_SEXT_INREG:
241241
return selectSExtInreg(MI, MIB);
242242
case TargetOpcode::G_FRAME_INDEX: {
243-
// FIXME: We want to replace this with tablegen code that matches for
244-
// FrameAddrRegImm
243+
// TODO: We may want to replace this code with the SelectionDAG patterns,
244+
// which fail to get imported because it uses FrameAddrRegImm, which is a
245+
// ComplexPattern
245246
Register DstReg = MI.getOperand(0).getReg();
246247

247248
if (!MRI.getType(DstReg).isPointer())

0 commit comments

Comments
 (0)