[llvm] [X86] IsElementEquivalent - add handling for ISD::BITCASTS from smaller vector elements (PR #139741)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu May 22 09:46:24 PDT 2025


================
@@ -1569,25 +1569,19 @@ define <2 x i64> @mul_v2i64_neg_17_65(<2 x i64> %a0) nounwind {
 }
 
 define <2 x i64> @mul_v2i64_0_1(<2 x i64> %a0) nounwind {
-; X86-SSE2-LABEL: mul_v2i64_0_1:
-; X86-SSE2:       # %bb.0:
-; X86-SSE2-NEXT:    xorpd %xmm1, %xmm1
-; X86-SSE2-NEXT:    movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
----------------
RKSimon wrote:

to be clear, all that has happened is the i686 codegen now matches the x86_64 which has always had this int/fp domain behavior

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


More information about the llvm-commits mailing list