16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=wasm32 -mattr=+simd128 | FileCheck %s3 4;; Regression test for a bug in which BUILD_VECTOR nodes with large unsigned5;; lane constants were not properly selected.6define <4 x i8> @test(<4 x i8> %0) {7; CHECK-LABEL: test:8; CHECK: .functype test (v128) -> (v128)9; CHECK-NEXT: # %bb.0:10; CHECK-NEXT: v128.const 255, 17, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 011; CHECK-NEXT: # fallthrough-return12 %V1 = or <4 x i8> <i8 255, i8 255, i8 255, i8 255>, %013 %V2 = insertelement <4 x i8> %V1, i8 17, i32 114 ret <4 x i8> %V215}16