1 # RUN: llc -march=hexagon -run-pass expand-condsets %s -o - | FileCheck %s
2 # Check that we can expand a mux with a global as an immediate operand.
3 # CHECK: C2_cmoveif undef %0:predregs, @G
6 @G = global i32 0, align 4
7 define void @fred() { ret void }
11 tracksRegLiveness: true
14 - { id: 0, class: predregs }
15 - { id: 1, class: intregs }
19 %1 = C2_muxir undef %0, %1, @G