[PATCH] D47568: [Power9] Do the add-imm peephole for pseudo instruction DFLOADf32/DFLOADf64 and the store pair

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 30 19:54:52 PDT 2018


steven.zhang created this revision.
steven.zhang added reviewers: hfinkel, nemanjai.
Herald added subscribers: kbarton, hiraditya.

If the arch is https://reviews.llvm.org/P9, we will select the DFLOADf32/DFLOADf64 pseudo instruction when we are loading a floating, and expand it post RA basing on the register pressure. However, we miss to do the add-imm peephole for these pseudo instruction.


https://reviews.llvm.org/D47568

Files:
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
  llvm/test/CodeGen/PowerPC/mcm-12.ll
  llvm/test/CodeGen/PowerPC/toc-float.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47568.149228.patch
Type: text/x-patch
Size: 3791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180531/cfb633cd/attachment.bin>


More information about the llvm-commits mailing list