brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.1 KiB · 1f97978 Raw
39 lines · plain
1; RUN: llc -verify-machineinstrs -mcpu=pwr8 -ppc-asm-full-reg-names \2; RUN:   -ppc-vsr-nums-as-vr -mtriple=powerpc64le-unknown-linux-gnu < %s | \3; RUN: FileCheck %s --check-prefix=CHECK-LE-P84 5define <16 x i8> @test_none_v16i8(i8 %arg, ptr nocapture noundef readonly %b) {6; CHECK-LE-P8: .LCPI0_0:7; CHECK-LE-P8-NEXT: .byte   23                              # 0x178; CHECK-LE-P8-NEXT: .byte   22                              # 0x169; CHECK-LE-P8-NEXT: .byte   7                               # 0x710; CHECK-LE-P8-NEXT: .byte   23                              # 0x1711; CHECK-LE-P8-NEXT: .byte   23                              # 0x1712; CHECK-LE-P8-NEXT: .byte   23                              # 0x1713; CHECK-LE-P8-NEXT: .byte   23                              # 0x1714; CHECK-LE-P8-NEXT: .byte   23                              # 0x1715; CHECK-LE-P8-NEXT: .byte   23                              # 0x1716; CHECK-LE-P8-NEXT: .byte   23                              # 0x1717; CHECK-LE-P8-NEXT: .byte   23                              # 0x1718; CHECK-LE-P8-NEXT: .byte   23                              # 0x1719; CHECK-LE-P8-NEXT: .byte   23                              # 0x1720; CHECK-LE-P8-NEXT: .byte   23                              # 0x1721; CHECK-LE-P8-NEXT: .byte   23                              # 0x1722; CHECK-LE-P8-NEXT: .byte   23                              # 0x1723; CHECK-LE-P8-LABEL: test_none_v16i8:24; CHECK-LE-P8:       # %bb.0: # %entry25; CHECK-LE-P8-NEXT:    addis r5, r2, .LCPI0_0@toc@ha26; CHECK-LE-P8-NEXT:    lxvd2x v3, 0, r427; CHECK-LE-P8-NEXT:    mtvsrd v4, r328; CHECK-LE-P8-NEXT:    addi r5, r5, .LCPI0_0@toc@l29; CHECK-LE-P8-NEXT:    lxvd2x vs0, 0, r530; CHECK-LE-P8-NEXT:    xxswapd v2, vs031; CHECK-LE-P8-NEXT:    vperm v2, v4, v3, v232; CHECK-LE-P8-NEXT:    blr33entry:34  %lhs = load <16 x i8>, ptr %b, align 435  %rhs = insertelement <16 x i8> undef, i8 %arg, i32 036  %shuffle = shufflevector <16 x i8> %lhs, <16 x i8> %rhs, <16 x i32> <i32 0, i32 1, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>37  ret <16 x i8> %shuffle38}39