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

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 10:38:47 PDT 2024


================
@@ -10,7 +10,7 @@ define arm_aapcs_vfpcc <8 x i8> @vmov_i8() {
 ;
 ; CHECK-BE-LABEL: vmov_i8:
 ; CHECK-BE:       @ %bb.0:
-; CHECK-BE-NEXT:    vmov.i64 d0, #0xff
+; CHECK-BE-NEXT:    vmov.i64 d0, #0xff00000000000000Î
----------------
davemgreen wrote:

I believe these ones were correct before, and either need a `vmov 0xff`  or `vmov 0xff00000000000000 + vrev`

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


More information about the llvm-commits mailing list