Change PointerType::get(*GTI, AS) to *GTI when getGEPCost() calls isLegalAddressingMode().
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D27357
[TTI/CostModel] Correct the way getGEPCost() calls isLegalAddressingMode() ClosedPublic Authored by haicheng on Dec 2 2016, 11:02 AM.
Details Summary Change PointerType::get(*GTI, AS) to *GTI when getGEPCost() calls isLegalAddressingMode().
Diff Detail
Event Timelinehfinkel edited edge metadata. Comment ActionsLGTM For context, see: https://reviews.llvm.org/D9819#inline-234571 This revision is now accepted and ready to land.Dec 2 2016, 11:26 AM Closed by commit rL288569: [TTI/CostModel] Correct the way getGEPCost() calls isLegalAddressingMode() (authored by haicheng). · Explain WhyDec 2 2016, 6:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 80130 include/llvm/Analysis/TargetTransformInfoImpl.h
test/Analysis/CostModel/AArch64/gep.ll
test/Analysis/CostModel/ARM/gep.ll
|