[llvm] [ARM][Codegen] Fix vector data miscompilation in arm32be (PR #105519)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 23:25:12 PDT 2024


================
@@ -177,7 +177,6 @@ define arm_aapcs_vfpcc <4 x i32> @and_v4i32_b(<4 x i32> %a) {
 ; CHECK-BE:       @ %bb.0:
 ; CHECK-BE-NEXT:    vmov.i64 q8, #0xffff00ff0000ff
 ; CHECK-BE-NEXT:    vrev64.32 q9, q0
-; CHECK-BE-NEXT:    vrev64.32 q8, q8
 ; CHECK-BE-NEXT:    vand q8, q9, q8
----------------
Zhenhang1213 wrote:

> After removing rearranged i64 vectors in PerformBITCASTCombine, all tests update. could you review it again? Thinks.



> This one was correct before I believe, and is now incorrect.

After removing rearranged i64 vectors in PerformBITCASTCombine, all tests update. could you review it again? Thanks.

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


More information about the llvm-commits mailing list