[PATCH] D33076: [PPC] Move the combine "a << (b % (sizeof(a) * 8)) -> (PPCshl a, b)" to the backend. NFC.

Tim Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 17:10:06 PDT 2017


timshen updated this revision to Diff 98566.
timshen added a comment.

32-bit instructions like slw has a subtly different behavior. Make the documentation refer back to the ISA, since it's the intention.


https://reviews.llvm.org/D33076

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33076.98566.patch
Type: text/x-patch
Size: 10854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170511/e8757a4a/attachment.bin>


More information about the llvm-commits mailing list