xref: /llvm-project/llvm/test/CodeGen/WebAssembly/pr61828.ll (revision 3b2476910ba33f1112c1b915b3cf41033ffd7e1a)
1; RUN: llc < %s -mattr=+simd128 -mtriple=wasm64
2
3define void @foo(i64 %i0, i64 %i1, ptr %p) {
4  %B4 = urem i64 %i0, %i0
5  %B5 = udiv i64 %i1, %B4
6  %I = insertelement <4 x float> <float 0.25, float 0.25, float 0.25, float 0.25>, float 0.5, i64 %B5
7  store <4 x float> %I, ptr %p
8  ret void
9}
10