brintos

brintos / llvm-project-archived public Read only

0
0
Text · 921 B · 1a87887 Raw
20 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 52; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 < %s | FileCheck %s3 4define <4 x float> @issue121601(bfloat %fptrunc) {5; CHECK-LABEL: issue121601:6; CHECK:       ; %bb.0: ; %bb7; CHECK-NEXT:    s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)8; CHECK-NEXT:    v_lshlrev_b32_e32 v0, 16, v09; CHECK-NEXT:    v_mov_b32_e32 v1, v010; CHECK-NEXT:    v_mov_b32_e32 v2, 011; CHECK-NEXT:    v_mov_b32_e32 v3, 012; CHECK-NEXT:    s_setpc_b64 s[30:31]13bb:14  %bitcast = bitcast bfloat %fptrunc to <1 x bfloat>15  %shufflevector = shufflevector <1 x bfloat> %bitcast, <1 x bfloat> zeroinitializer, <2 x i32> zeroinitializer16  %fpext = fpext <2 x bfloat> %shufflevector to <2 x float>17  %shufflevector1 = shufflevector <2 x float> %fpext, <2 x float> zeroinitializer, <4 x i32> <i32 0, i32 1, i32 2, i32 3>18  ret <4 x float> %shufflevector119}20