diff options
| author | Florian Mayer <fmayer@google.com> | 2025-10-22 10:55:10 -0700 |
|---|---|---|
| committer | Florian Mayer <fmayer@google.com> | 2025-10-22 10:55:10 -0700 |
| commit | a0abc0af0a0a90878822f8107d70dad6f7cdfc26 (patch) | |
| tree | 3317f49277cc325327cfe3d9a7be4b6e9bacd0f5 /mlir/lib/Target/LLVMIR/ModuleImport.cpp | |
| parent | e8230892228fd3b3e543c869f1238fa199d48bc1 (diff) | |
| parent | 735b1ad667ac7373c89ccc0f0e757ef418f8f790 (diff) | |
[𝘀𝗽𝗿] changes introduced through rebaseusers/fmayer/spr/main.wip-smartpointers
Created using spr 1.3.7
[skip ci]
Diffstat (limited to 'mlir/lib/Target/LLVMIR/ModuleImport.cpp')
| -rw-r--r-- | mlir/lib/Target/LLVMIR/ModuleImport.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mlir/lib/Target/LLVMIR/ModuleImport.cpp b/mlir/lib/Target/LLVMIR/ModuleImport.cpp index 857e31be6f25..d9891e316882 100644 --- a/mlir/lib/Target/LLVMIR/ModuleImport.cpp +++ b/mlir/lib/Target/LLVMIR/ModuleImport.cpp @@ -2616,7 +2616,6 @@ static constexpr std::array kExplicitLLVMFuncOpAttributes{ StringLiteral("optnone"), StringLiteral("target-features"), StringLiteral("tune-cpu"), - StringLiteral("unsafe-fp-math"), StringLiteral("uwtable"), StringLiteral("vscale_range"), StringLiteral("willreturn"), @@ -2714,10 +2713,6 @@ void ModuleImport::processFunctionAttributes(llvm::Function *func, attr.isStringAttribute()) funcOp.setPreferVectorWidth(attr.getValueAsString()); - if (llvm::Attribute attr = func->getFnAttribute("unsafe-fp-math"); - attr.isStringAttribute()) - funcOp.setUnsafeFpMath(attr.getValueAsBool()); - if (llvm::Attribute attr = func->getFnAttribute("no-infs-fp-math"); attr.isStringAttribute()) funcOp.setNoInfsFpMath(attr.getValueAsBool()); |
