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

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 17 14:41:47 PDT 2018


cameron.mcinally added a comment.

Oh, ok. I think I understand now...

User writes 0-x:   Frontend maps to constrained FSUB
User writes -x:     Frontend maps to FSUB

Yeah, I suppose that would work if it's guaranteed that the 0-x would never produce an FSUB instruction, like you said. There seems to be a number of implicit agreements there though, so it may be fragile.


Repository:
  rL LLVM

https://reviews.llvm.org/D50913





More information about the llvm-commits mailing list