[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
Thu May 31 20:17:15 PDT 2018


steven.zhang updated this revision to Diff 149393.
steven.zhang added a comment.

There are two changes:

1. add a query to check if it is imm operand as Nemanjai suggested.
2. add a new test case to address the global case.


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.149393.patch
Type: text/x-patch
Size: 4572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180601/c3798f12/attachment.bin>


More information about the llvm-commits mailing list