[llvm] DAG: Gracefully diagnose missing FMA and ppcf128 expansion libcalls (PR #228094)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 02:17:43 PDT 2026


================
@@ -0,0 +1,82 @@
+; RUN: not llc -mtriple=x86_64-unknown-unknown -filetype=null %s 2>&1 | FileCheck %s
+
+; x86 expands ppc_fp128 but has no ppc_fp128 runtime library, so these
+; operations should diagnose a missing libcall rather than crash.
+
+; CHECK: error: no libcall available for fsqrt
----------------
RKSimon wrote:

add test for libcall with different argument types - ldexp of something?

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


More information about the llvm-commits mailing list