xref: /aosp_15_r20/external/llvm/test/MC/Hexagon/two_ext.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker# verify two extenders generated during relaxation
4*9880d681SAndroid Build Coastguard Worker{
5*9880d681SAndroid Build Coastguard Worker  if (p1) call foo_a
6*9880d681SAndroid Build Coastguard Worker  if (!p1) call foo_b
7*9880d681SAndroid Build Coastguard Worker}
8*9880d681SAndroid Build Coastguard Worker# CHECK: 00004000 { immext(#0)
9*9880d681SAndroid Build Coastguard Worker# CHECK: 5d004100   if (p1) call 0x0
10*9880d681SAndroid Build Coastguard Worker# CHECK: 00004000   immext(#0)
11*9880d681SAndroid Build Coastguard Worker# CHECK: 5d20c100   if (!p1) call 0x0 }
12*9880d681SAndroid Build Coastguard Worker
13