[llvm] [X86] Lower scalar integer div/rem to FP division (PR #216589)

Ankit Kumar Tiwari via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 09:56:35 PDT 2026


================
@@ -50720,8 +50720,8 @@ static SDValue combineIntDivRem(SDNode *N, SelectionDAG &DAG,
   EVT VT = N->getValueType(0);
   SDLoc DL(N);
 
-  // Vector division never survives op legalization to reach later rounds.
-  if (!VT.isVector() || !Subtarget.hasSSE2())
+  
----------------
ankit-cybertron wrote:

Removed!

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


More information about the llvm-commits mailing list