[PATCH] D103406: [TTI] NFC: Reduce InstructionCost::getValue() usage...

Daniil Fukalov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 2 03:14:04 PDT 2021


dfukalov updated this revision to Diff 349214.
dfukalov added a comment.

Do not call expectedCost(VF) second time just for assert.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103406

Files:
  llvm/include/llvm/Support/InstructionCost.h
  llvm/lib/Transforms/IPO/PartialInlining.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103406.349214.patch
Type: text/x-patch
Size: 8086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210602/be72f2c8/attachment.bin>


More information about the llvm-commits mailing list