[llvm] [llubi] Initial support for floating-point numbers (PR #188453)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 5 11:41:19 PDT 2026
================
@@ -633,6 +915,108 @@ class InstExecutor : public InstVisitor<InstExecutor, void>,
});
}
+ void visitFPExtInst(FPExtInst &FPExt) { visitFPConvInst(FPExt); }
+
+ void visitFPTruncInst(FPTruncInst &FPTrunc) { visitFPConvInst(FPTrunc); }
+
+ void visitFPConvInst(Instruction &I) {
+ if (!isDefaultFPEnvironment(CurrentExceptionBehavior,
+ CurrentRoundingMode)) {
+ Status = false;
----------------
dtcxzyw wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/188453
More information about the llvm-commits
mailing list