[PATCH] D62612: [InstCombine] Handle -(X-Y) --> (Y-X) for unary fneg when NSZ
    Sanjay Patel via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jun 10 14:49:48 PDT 2019
    
    
  
spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.
This matches the existing fold with 2 fsubs, and I agree with the comment in the description regarding IEEE-754 - fsub doesn't need to preserve the sign bit of a NaN. LGTM.
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62612/new/
https://reviews.llvm.org/D62612
    
    
More information about the llvm-commits
mailing list