brintos

brintos / llvm-project-archived public Read only

0
0
Text · 360 B · b93ece7 Raw
12 lines · plain
1; RUN: llc -mtriple=amdgcn -mcpu=gfx802 < %s | FileCheck %s2 3; CHECK: s_waitcnt4define <2 x i16> @main(<2 x float>) #0 {5  %2 = bitcast <2 x float> %0 to <4 x i16>6  %3 = shufflevector <4 x i16> %2, <4 x i16> poison, <2 x i32> <i32 0, i32 poison>7  %4 = extractelement <4 x i16> %2, i32 08  %5 = insertelement <2 x i16> %3, i16 %4, i32 09  ret <2 x i16> %510}11 12