[llvm] Hexagon: Move RuntimeLibcall setting out of TargetLowering (PR #142543)

Brian Cain via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 5 20:36:41 PDT 2025


================
@@ -7,10 +7,15 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/IR/RuntimeLibcalls.h"
+#include "llvm/Support/CommandLine.h"
 
 using namespace llvm;
 using namespace RTLIB;
 
+static cl::opt<bool>
+    HexagonEnableFastMathRuntimeCalls("hexagon-fast-math", cl::Hidden,
+                                      cl::desc("Enable Fast Math processing"));
----------------
androm3da wrote:

@aankit-ca can you discuss with the compiler team whether this feature is required or if maybe it's a feature that was incompletely upstreamed?

If it's the latter we can follow through with tests and documentation. If it's not used then we can delete it. 

In either case I don't think it makes sense to hold up this PR though. 

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


More information about the llvm-commits mailing list