[PATCH] D27357: [TTI/CostModel] Correct the way getGEPCost() calls isLegalAddressingMode()
Haicheng Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 2 11:02:34 PST 2016
haicheng created this revision.
haicheng added reviewers: jingyue, hfinkel.
haicheng added subscribers: llvm-commits, gberry, junbuml.
haicheng set the repository for this revision to rL LLVM.
Herald added a subscriber: mcrosier.
Change PointerType::get(*GTI, AS) to *GTI when getGEPCost() calls isLegalAddressingMode().
Repository:
rL LLVM
https://reviews.llvm.org/D27357
Files:
include/llvm/Analysis/TargetTransformInfoImpl.h
test/Analysis/CostModel/AArch64/gep.ll
test/Analysis/CostModel/ARM/gep.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27357.80101.patch
Type: text/x-patch
Size: 10230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161202/032390be/attachment.bin>
More information about the llvm-commits
mailing list