[PATCH] D76434: [SCEV] Query for immediate cost in Expander
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 26 07:33:39 PDT 2020
samparker updated this revision to Diff 252830.
samparker edited the summary of this revision.
samparker added a comment.
Herald added a subscriber: javed.absar.
Introduced a lambda to look at an expressions operand and, if it's a constant, query for cost using getIntImmCostInst.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76434/new/
https://reviews.llvm.org/D76434
Files:
llvm/lib/Analysis/ScalarEvolutionExpander.cpp
llvm/test/CodeGen/ARM/indvar-cost.ll
llvm/test/CodeGen/ARM/indvar-unroll-imm-cost.ll
llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll
llvm/test/Transforms/IndVarSimplify/X86/iv-widen.ll
llvm/test/Transforms/IndVarSimplify/X86/loop-invariant-conditions.ll
llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll
llvm/test/Transforms/LoopUnroll/PowerPC/p8-unrolling-legalize-vectors.ll
llvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76434.252830.patch
Type: text/x-patch
Size: 133959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200326/70dec382/attachment-0001.bin>
More information about the llvm-commits
mailing list