[llvm-bugs] [Bug 28979] New: [fast-math] support for math flags 'nsz', 'arcp', 'fast' in opt and TargetOptions

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 15 02:10:28 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28979

            Bug ID: 28979
           Summary: [fast-math] support for math flags 'nsz', 'arcp',
                    'fast' in opt and TargetOptions
           Product: libraries
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm at henning-thielemann.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

It seems that
  opt -enable-no-infs-fp-math  adds  ninf  globally
  opt -enable-no-nans-fp-math  adds  nnan  globally

but I do not see counterparts for the flags 'nsz', 'arcp' and 'fast'.
I also do not see corresponding flags in TargetOptions.
Am I missing something?
Is there another way to apply fast-math flags to whole functions or modules?
Or is it discouraged for some reason, anyway?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160815/6b339190/attachment.html>


More information about the llvm-bugs mailing list