[llvm] [HLSL] [DirectX] translate llvm fast math flags to llvm 3.7 fast math flags (PR #122025)
Chris B via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 09:54:06 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())
----------------
llvm-beanz wrote:
ApproxFunc has no equivalent in LLVM 3.7 so there is no bitcode representation of it. We have no choice but to drop it.
https://github.com/llvm/llvm-project/pull/122025
More information about the llvm-commits
mailing list