[PATCH] D44897: [PowerPC] Do not emit record-form rotates when record-form andi/andis suffices

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 06:07:39 PDT 2018


nemanjai updated this revision to Diff 139907.
nemanjai added a comment.

Added the missing check for the record-form "and immediate shifted" as compares they feed are often redundant.


Repository:
  rL LLVM

https://reviews.llvm.org/D44897

Files:
  lib/Target/PowerPC/PPCInstrInfo.cpp
  test/CodeGen/PowerPC/noPermuteFormasking.ll
  test/CodeGen/PowerPC/tail-dup-break-cfg.ll
  test/CodeGen/PowerPC/tail-dup-layout.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44897.139907.patch
Type: text/x-patch
Size: 10150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180327/5c534399/attachment.bin>


More information about the llvm-commits mailing list