[PATCH] D23445: [x86] Refactor a PowerPC specific ctlz/srl transformation (NFC).

pierre gousseau via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 05:24:05 PDT 2016


pgousseau created this revision.
pgousseau added reviewers: qcolombet, andreadb, RKSimon, spatel.
pgousseau added a subscriber: llvm-commits.
Herald added a subscriber: nemanjai.

Following the discussion on D22038, this refactors a PowerPC specific setcc -> srl(ctlz) transformation so it can be used by other targets.

https://reviews.llvm.org/D23445

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23445.67823.patch
Type: text/x-patch
Size: 4123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160812/2008ad92/attachment.bin>


More information about the llvm-commits mailing list