16 lines · plain
1; REQUIRES: amdgpu-registered-target2 3; AMDGPU inserts the fourth instance of dead-mi-elimination pass after detect-dead-lanes4; This checks that the pipeline stops before that.5 6; RUN: llc -mtriple=amdgcn-amd-amdhsa -O3 -enable-new-pm -stop-before=dead-mi-elimination,4 --print-pipeline-passes -filetype=null %s | FileCheck %s7 8; There is no way to -start-after an inserted pass right now.9; RUN: not llc -mtriple=amdgcn-amd-amdhsa -O3 -enable-new-pm -start-after=dead-mi-elimination,4 --print-pipeline-passes -filetype=null %s10 11 12; CHECK: dead-mi-elimination13; CHECK: dead-mi-elimination14; CHECK: dead-mi-elimination15; CHECK-NOT: dead-mi-elimination16