1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -run-pass=block-placement -tail-dup-placement-threshold=2 -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
4 # Check that tail duplication correctly counts instructions in a bundle.
5 # The bundle below shall not be duplicated.
10 ; GCN-LABEL: name: tail_dup_bundle
12 ; GCN-NEXT: successors: %bb.2(0x80000000)
20 ; GCN-NEXT: S_ENDPGM 0
23 ; GCN-NEXT: successors: %bb.2(0x80000000)
25 ; GCN-NEXT: S_BRANCH %bb.2
27 successors: %bb.2(0x80000000)
32 successors: %bb.2(0x80000000)