[llvm] [SDAG] Honor signed arguments in floating point libcalls (PR #109134)

Timothy Pearson via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 18 09:00:41 PDT 2024


================
@@ -2205,7 +2205,26 @@ void SelectionDAGLegalize::ExpandFPLibCall(SDNode* Node,
     Results.push_back(Tmp.first);
     Results.push_back(Tmp.second);
   } else {
-    SDValue Tmp = ExpandLibCall(LC, Node, false).first;
+    bool isSignedArgument;
+    switch (LC) {
----------------
tpearson-ssc wrote:

Indeed, I've been told in issue #108904 the signatures simply aren't available, so this is the best I can do to fix the regression for now.

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


More information about the llvm-commits mailing list