[PATCH] D36734: [PowerPC Peephole] Constants into a join add, use ADDI over LI/ADD.
    Tony Jiang via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Aug 30 06:25:38 PDT 2017
    
    
  
jtony updated this revision to Diff 113251.
jtony added a comment.
Refactor the implementation according to Nemanja's suggestion (get rid of the large lambda function replaceLiWithAddi, and inline replaceAddWithCopy)
https://reviews.llvm.org/D36734
Files:
  lib/Target/PowerPC/PPCMIPeephole.cpp
  test/CodeGen/PowerPC/opt-li-add-to-addi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36734.113251.patch
Type: text/x-patch
Size: 7892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170830/7e6a34e0/attachment.bin>
    
    
More information about the llvm-commits
mailing list