[PATCH] D139902: IR: Add nofpclass parameter attribute

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 07:43:19 PST 2023


sepavloff added a comment.
Herald added a subscriber: StephenFan.

Existing decoration with `nnan`/`ninf` has inconvenient semantics. Having more powerfull and consistent solution can enable optimizations that are based on the knowledge of finitness of FP operands.

> This is to help simplify the GPU builtin math library distribution.

This patch is about parameter attribute only. How would it be used? Would it be a separate tool, that analyzes bitcode, or some follow-up patches are planned?


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

https://reviews.llvm.org/D139902



More information about the llvm-commits mailing list