brintos

brintos / llvm-project-archived public Read only

0
0
Text · 746 B · ca9d16d Raw
18 lines · plain
1; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple | FileCheck %s2 3; LowerCONCAT_VECTORS() was reversing the order of two parts.4; rdar://115581575; rdar://115595536define <16 x i8> @test(<16 x i8> %q0, <16 x i8> %q1, ptr nocapture %dest) nounwind {7entry:8; CHECK-LABEL: test:9; CHECK: mov.d v0[1], v1[0]10  %0 = bitcast <16 x i8> %q0 to <2 x i64>11  %shuffle.i = shufflevector <2 x i64> %0, <2 x i64> undef, <1 x i32> zeroinitializer12  %1 = bitcast <16 x i8> %q1 to <2 x i64>13  %shuffle.i4 = shufflevector <2 x i64> %1, <2 x i64> undef, <1 x i32> zeroinitializer14  %shuffle.i3 = shufflevector <1 x i64> %shuffle.i, <1 x i64> %shuffle.i4, <2 x i32> <i32 0, i32 1>15  %2 = bitcast <2 x i64> %shuffle.i3 to <16 x i8>16  ret <16 x i8> %217}18