[PATCH] D92238: [SCEVExpander] Migrate costAndCollectOperands to use InstructionCost.
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 26 08:03:50 PST 2021
sdesmalen updated this revision to Diff 319297.
sdesmalen edited the summary of this revision.
sdesmalen added a comment.
- Refactored patch to use incrementing Cost value, to be compared with Budget.
There probably isn't much I can do in this patch to take away all @lebedev.ri 's concerns regarding the comparison operators, but hopefully this patch is now written in such a way that it is clear and acceptable to everyone. I'd be happy to follow this up with possible changes to the nature of InstructionCost itself, like I suggested earlier, if that is helpful.
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.319297.patch
Type: text/x-patch
Size: 7604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210126/918853d3/attachment.bin>
More information about the llvm-commits
mailing list