[PATCH] D67446: [ConstProp] allow folding for fma that produces NaN

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 08:07:15 PDT 2019


cameron.mcinally added a subscriber: eli.friedman.
cameron.mcinally added inline comments.


================
Comment at: llvm/test/Transforms/ConstProp/fma.ll:196
   ret double %1
 }
 
----------------
Should this class of FMA return poison? There's no valid result for fma(0, inf, C), where C != NaN.

@eli.friedman 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67446/new/

https://reviews.llvm.org/D67446





More information about the llvm-commits mailing list