[PATCH] D53157: Teach the IRBuilder about constrained fadd and friends

Andy Kaylor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 14:12:45 PDT 2019


andrew.w.kaylor added inline comments.


================
Comment at: include/llvm/IR/IRBuilder.h:234
+  /// Set the exception handling to be used with constrained floating point
+  void setDefaultConstrainedExcept(MDNode *NewExcept) { 
+    DefaultConstrainedExcept = NewExcept; 
----------------
I think it would be better to add some enumerated type to describe the exception semantic and rounding modes. The MDNode is an implementation detail and an awkward one for the front end to have to deal with.


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

https://reviews.llvm.org/D53157





More information about the llvm-commits mailing list