[PATCH] D44147: [InstCombine] Fold add/sub over phi node
    Hiroshi Inoue via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Mar  6 06:25:58 PST 2018
    
    
  
inouehrs added a comment.
So far, I disabled this optimization for Hexagon since this patch affects Hexagon loop idiom recognition (test/CodeGen/Hexagon/loop-idiom/pmpy-mod.ll).
Should I add a flag in backend to control this optimization rather than explicitly checking the triple in this method?
https://reviews.llvm.org/D44147
    
    
More information about the llvm-commits
mailing list