As discussed on PR37989, this patch adds EXTRACT_SUBVECTOR handling to TargetLowering::SimplifyDemandedVectorElts and calls it from DAGCombiner::visitEXTRACT_SUBVECTOR.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/CodeGen/SelectionDAG/TargetLowering.cpp | ||
---|---|---|
1487 | const APInt &? It doesn't look like we need a copy. |
Comment Actions
Fixed APInt& (and did the same for INSERT_SUBVECTOR while I was at it - but I'll commit that separately).
const APInt &? It doesn't look like we need a copy.