Skip to content

Commit 2803322

Browse files
committed
Add todo about deduplication
1 parent 3e767a4 commit 2803322

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ bool RISCVGatherScatterLowering::matchStridedRecurrence(Value *Index, Loop *L,
294294
BasePtr->getIncomingBlock(StartBlock)->getTerminator());
295295
Builder.SetCurrentDebugLocation(DebugLoc());
296296

297+
// TODO: Share this switch with matchStridedStart?
297298
switch (BO->getOpcode()) {
298299
default:
299300
llvm_unreachable("Unexpected opcode!");

0 commit comments

Comments
 (0)