[PATCH] D50913: [FPEnv] Don't need copysign/fabs/fneg constrained intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 20 12:11:15 PDT 2018


arsenm added a comment.

I would really much rather have an fneg instruction than to deal with a constrained fneg On GPUs we have source modifiers, and it would be really helpful to preserve all of the side effect free properties of fneg so ti's easy to propagate all of the optimizations of fnegs through the constrained operations. Having the unnecessary complexity of the side effects to workaround this quirk of how the IR has been defined thus far would be unfortunate


Repository:
  rL LLVM

https://reviews.llvm.org/D50913





More information about the llvm-commits mailing list