[PATCH] D156129: Attributor: Try to propagate concrete denormal-fp-math{-f32}

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 07:38:32 PDT 2023


arsenm created this revision.
arsenm added reviewers: jdoerfert, sstefan1, jcranmer-intel, foad, sameerds, jhuber6.
Herald added subscribers: hoy, ormris, StephenFan, okura, kuter, hiraditya.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Allow specialization of functions with "dynamic" denormal modes to a
known IEEE or DAZ mode based on callers. This should make it possible
to implement a is-denormal-flushing-enabled test using
llvm.canonicalize and have it be free after LTO.


https://reviews.llvm.org/D156129

Files:
  llvm/include/llvm/ADT/FloatingPointMode.h
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/test/Transforms/Attributor/denormal-fp-math.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156129.543544.patch
Type: text/x-patch
Size: 24340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230724/c20dfaab/attachment.bin>


More information about the llvm-commits mailing list