llvm-project
e089d489 - [VPlan] VPWidenGEPRecipe uses first lane of invariant indices (NFC)

Commit
29 days ago
[VPlan] VPWidenGEPRecipe uses first lane of invariant indices (NFC) Update VPWidenGEPRecipe::onlyFirstLaneUsed to return true for indices that are defined outside the loop regions, if the base pointer is not invariant.
Author
Committer
Parents
  • llvm
    • lib/Transforms/Vectorize
      • File
        VPlan.h
    • test/Transforms/LoopVectorize
      • widen-gep-all-indices-invariant.ll