25 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass hexagon-split-double %s -o - | FileCheck %s2 3# This used to crash because the constant operand was not an immediate.4# Make sure we can handle such a case.5 6# CHECK-DAG: = A2_tfrsi 07# CHECK-DAG: = A2_tfrsi @g08 9--- |10 define i32 @fred() {11 ret i32 012 }13 14 @g0 = global i32 zeroinitializer15...16 17name: fred18tracksRegLiveness: true19body: |20 bb.0:21 %0:doubleregs = A4_combineii 0, @g022 $r0 = COPY %0.isub_lo23 PS_jmpret $r31, implicit-def $pc, implicit $r024...25