[PATCH] D92238: [SCEVExpander] Migrate costAndCollectOperands to use InstructionCost.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 07:50:20 PST 2021


sdesmalen updated this revision to Diff 315138.
sdesmalen added a comment.

- Simplified `*BudgetRemaining.getValue() < 0` to `BudgetRemaining < 0`.
- Changed `int Cost;` to `InstructionCost Cost`.
- Rebased patch.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92238/new/

https://reviews.llvm.org/D92238

Files:
  llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
  llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92238.315138.patch
Type: text/x-patch
Size: 5186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210107/586e950e/attachment.bin>


More information about the llvm-commits mailing list