1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc < %s -mtriple=wasm32 -mattr=+simd128 | FileCheck %s 3 4;; Regression test for a bug in which BUILD_VECTOR nodes with large unsigned 5;; 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, 0 11; CHECK-NEXT: # fallthrough-return 12 %V1 = or <4 x i8> <i8 255, i8 255, i8 255, i8 255>, %0 13 %V2 = insertelement <4 x i8> %V1, i8 17, i32 1 14 ret <4 x i8> %V2 15} 16