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

Brian Favela via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 09:03:15 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())
----------------
bfavela wrote:

Why is "approx func" removed?

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


More information about the llvm-commits mailing list