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

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 24 01:59:01 PST 2021


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

> Having this check only for expensive operands raised a bit the bar of how much misprediction would be acceptable.

I don't think I have caught your idea exactly. I've updated the patch, please correct me if I'm wrong.


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.389432.patch
Type: text/x-patch
Size: 12893 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211124/8538b6d5/attachment.bin>


More information about the llvm-commits mailing list