[PATCH] D93191: [PowerPC] Fold select_cc constants when comparing zero into trivial ops

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 14 22:26:23 PDT 2021


lkail updated this revision to Diff 330559.
lkail retitled this revision from "[DAGCombine][PowerPC] Fold select_cc constants when comparing zero into trivial ops" to "[PowerPC] Fold select_cc constants when comparing zero into trivial ops".
lkail edited the summary of this revision.
lkail added a comment.

@RKSimon Sorry for late response. I have moved the transformation into `PPCISelLowering`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93191

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: D93191.330559.patch
Type: text/x-patch
Size: 5526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210315/26d65d59/attachment.bin>


More information about the llvm-commits mailing list