[PATCH] D63405: GlobalISel: Don't lose fneg flags when lowering to fsub

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 09:11:43 PDT 2019


spatel added reviewers: hfinkel, efriedma.
spatel added a comment.

I'm not familiar with how flags are being used in this layer, but union of flags doesn't match the way we deal with FMF in IR. If the fneg is strict (disregard the irrelevant 'arcp' in that last test), then it's invalid to assume that it inherits the 'nsz' property from its operand.


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

https://reviews.llvm.org/D63405





More information about the llvm-commits mailing list