brintos

brintos / llvm-project-archived public Read only

0
0
Text · 473 B · d24a053 Raw
22 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass expand-condsets %s -o - | FileCheck %s2# Check that we can expand a mux with a global as an immediate operand.3# CHECK: C2_cmoveif undef %0:predregs, @G4 5--- |6  @G = global i32 0, align 47  define void @fred() { ret void }8...9---10name: fred11tracksRegLiveness: true12 13registers:14  - { id: 0, class: predregs }15  - { id: 1, class: intregs }16body: |17  bb.1:18    %1 = IMPLICIT_DEF19    %1 = C2_muxir undef %0, %1, @G20    $r0 = COPY %121...22