1 # RUN: llc -march=hexagon -run-pass post-RA-sched %s -o - | FileCheck %s
3 # The two loads from %a ($r0) can cause a bank conflict. Check that they
4 # are not scheduled next to each other.
6 # CHECK: L2_loadri_io $r0, 8
7 # CHECK: L2_loadri_io killed $r1, 0
8 # CHECK: L2_loadri_io killed $r0, 12
11 define void @foo(ptr %a, ptr %b) {
18 tracksRegLiveness: true
24 $r2 = L2_loadri_io $r0, 8 :: (load (s32) from %ir.a)
25 $r3 = L2_loadri_io killed $r0, 12 :: (load (s32) from %ir.a)
26 $r4 = L2_loadri_io killed $r1, 0 :: (load (s32) from %ir.b)