Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | ||
---|---|---|
2345–2346 | See discussion on D132978. I think we should be treating these indices as unsigned, so I would suggest just return Idx->getZExtValue() >= VecTy.getNumElements(). The behaviour should be the same as what you have written except in weird cases where the type of Idx is very narrow. |
Nit. The text is missing.