[llvm] [X86] Compute `CTLZ` using fp math for `v4i32` on SSE2 targets (PR #190930)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 05:22:00 PDT 2026


================
@@ -1356,6 +1356,11 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
     setOperationAction(ISD::STRICT_FSUB,        MVT::v2f64, Legal);
     setOperationAction(ISD::STRICT_FMUL,        MVT::v2f64, Legal);
     setOperationAction(ISD::STRICT_FDIV,        MVT::v2f64, Legal);
+
+    if (!Subtarget.hasSSSE3()) {
----------------
def3r wrote:

It comes from the prev PR, which was scoped for "v4i32 vectors on x86 targets that have SSE2 but do not have SSSE3" acc to [description](https://github.com/llvm/llvm-project/pull/167034#issue-3602284845)


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


More information about the llvm-commits mailing list