[PATCH] D31319: [PPC] Eliminate redundant sign- and zero-extensions in PPC MI Peephole pass

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 27 23:33:48 PDT 2017


inouehrs updated this revision to Diff 93212.
inouehrs added a comment.

- I added more code patterns in which we can eliminate sign- or zero-extensions.
- I added more test cases in the regression test.


https://reviews.llvm.org/D31319

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCInstrInfo.h
  lib/Target/PowerPC/PPCMIPeephole.cpp
  lib/Target/PowerPC/PPCMachineFunctionInfo.cpp
  lib/Target/PowerPC/PPCMachineFunctionInfo.h
  test/CodeGen/PowerPC/eliminate_ext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31319.93212.patch
Type: text/x-patch
Size: 23283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170328/51166202/attachment-0001.bin>


More information about the llvm-commits mailing list