[llvm] [AArch64] Add vector expansion support for ISD::FCBRT when using ArmPL (PR #183750)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 02:40:19 PST 2026


================
@@ -19358,7 +19361,16 @@ SDValue DAGCombiner::visitFPOW(SDNode *N) {
 
     // Do not create a cbrt() libcall if the target does not have it, and do not
     // turn a pow that has lowering support into a cbrt() libcall.
-    if (!DAG.getLibInfo().has(LibFunc_cbrt) ||
+    bool HasLibCall = false;
+    if (ScalarVT == VT)
----------------
david-arm wrote:

Done

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


More information about the llvm-commits mailing list