21 lines · plain
1# REQUIRES: amdgpu-registered-target2# RUN: llvm-reduce -abort-on-invalid-reduction --delta-passes=instructions -mtriple=amdgcn-amd-amdhsa --test FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 2> %t.log3# RUN: FileCheck --match-full-lines --check-prefix=RESULT %s < %t4 5# CHECK-INTERESTINGNESS: S_NOP 06 7# RESULT: S_ENDPGM 0, implicit undef %0:vgpr_328 9# Previously the the function clone would assert due to not preserving10# virtual registers which had no defs.11 12---13name: undef_vreg_operand14tracksRegLiveness: true15body: |16 bb.0:17 S_NOP 018 S_ENDPGM 0, implicit undef %0:vgpr_3219 20...21