[llvm] [PowerPC] Fix vector_shuffle combines when inputs are scalar_to_vector of differing types. (PR #80784)

Amy Kwan via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 10:32:25 PDT 2024


================
@@ -2505,11 +2505,9 @@ define <2 x i64> @buildi2(i64 %arg, i32 %arg1) {
 ;
 ; CHECK-LE-LABEL: buildi2:
 ; CHECK-LE:       # %bb.0: # %entry
-; CHECK-LE-NEXT:    mtfprd f0, r4
+; CHECK-LE-NEXT:    mtfprwz f0, r4
----------------
amy-kwan wrote:

Unless I am misunderstanding, the `mtfprwz f0, r4` represents the second `i32 %arg1` in this function, so I think this should be fine.

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


More information about the llvm-commits mailing list