llvm-project
3c5b0542 - [VPlan] Pass underlying instr to getMemoryOpCost in ::computeCost.

Commit
77 days ago
[VPlan] Pass underlying instr to getMemoryOpCost in ::computeCost. Pass underlying instruction to getMemoryOpCost in VPReplicateRecipe::computeCost if UsedByLoadStoreAddress is true. Some targets use the underlying instruction to improve costs, and this is needed to match the legacy cost model. Fixes https://github.com/llvm/llvm-project/issues/177780. Fixes https://github.com/llvm/llvm-project/issues/177772.
Author
Committer
Parents
Loading