1 ; RUN: llc -march=amdgcn -verify-machineinstrs %s -o - | FileCheck %s
4 ; CHECK-NOT: BUFFER_LOAD_DWORDX2_OFFSET
5 ; After dead code elimination, that buffer load should be eliminated finally
6 ; after dead lane detection.
7 define amdgpu_kernel void @foo() {
9 switch i8 undef, label %foo.exit [
15 %x = load i64, ptr addrspace(1) undef, align 8
16 %c = sitofp i64 %x to float
17 %v = insertelement <2 x float> <float undef, float 0.000000e+00>, float %c, i32 0
24 %agg = phi <2 x float> [ %v, %sw.bb4 ], [ zeroinitializer, %entry ]
25 %s = extractelement <2 x float> %agg, i32 1
26 store float %s, ptr addrspace(1) undef, align 4