[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:24:37 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:
I believe its something to do with SSSE3 LowerVectorCTLZInRegLUT expansion that you mentioned [here](https://github.com/llvm/llvm-project/issues/161746#issuecomment-3416215334)
https://github.com/llvm/llvm-project/pull/190930
More information about the llvm-commits
mailing list