[PATCH] D113872: [CGP] Handle select instructions relying on the same condition

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 18:49:26 PST 2022


lkail updated this revision to Diff 397444.
lkail added a comment.

Use `TTI->getInstructionCost(I, TargetTransformInfo::TCK_Latency)` to estimate cheap instruction's latency and gentle ping other reviewers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113872

Files:
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/test/CodeGen/PowerPC/cgp-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113872.397444.patch
Type: text/x-patch
Size: 12749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220105/c977772a/attachment.bin>


More information about the llvm-commits mailing list