[llvm] [HLSL] [DirectX] translate llvm fast math flags to llvm 3.7 fast math flags (PR #122025)

Sarah Spall via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 09:04:48 PST 2025


================
@@ -759,10 +759,6 @@ uint64_t DXILBitcodeWriter::getOptimizationFlags(const Value *V) {
       Flags |= bitc::NoSignedZeros;
     if (FPMO->hasAllowReciprocal())
       Flags |= bitc::AllowReciprocal;
-    if (FPMO->hasAllowContract())
-      Flags |= bitc::AllowContract;
-    if (FPMO->hasApproxFunc())
----------------
spall wrote:

https://releases.llvm.org/3.7.1/docs/LangRef.html#fast-math-flags 
Not listed in fast math flags for 3.7, is this an error?

https://github.com/llvm/llvm-project/pull/122025


More information about the llvm-commits mailing list