[PATCH] D89084: [PowerPC] Combine select_cc (x, 0, t, f, lt) to avoid generating `isel`

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 17:44:48 PDT 2020


lkail created this revision.
lkail added reviewers: PowerPC, shchenz, steven.zhang.
Herald added subscribers: llvm-commits, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.
lkail requested review of this revision.

We can combine `select_cc (x, 0, t, f, lt)` to avoid generating expensive `isel` instruction.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89084

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89084.297086.patch
Type: text/x-patch
Size: 8701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201009/b82ac747/attachment.bin>


More information about the llvm-commits mailing list