mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
ed62b97b18
lld tests need to be addressed. llvm-svn: 265822
26 lines
471 B
ArmAsm
26 lines
471 B
ArmAsm
# RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
|
|
|
|
.text
|
|
# CHECK-LABEL: 0:
|
|
# CHECK: 2442e106
|
|
# CHECK: if (!cmp.eq(r1.new, #1)) jump:t 0xc
|
|
{
|
|
r1 = zxth(r2)
|
|
if (!cmp.eq(r1.new, #1)) jump:t .L1
|
|
}
|
|
nop
|
|
.L1:
|
|
.org 0x10
|
|
# CHECK-LABEL: 10:
|
|
# CHECK: 00004020
|
|
# CHECK: immext(#2048)
|
|
# CHECK: 2442e118
|
|
# CHECK: if (!cmp.eq(r1.new, #1)) jump:t 0x81c
|
|
{
|
|
r1 = zxth(r2)
|
|
if (!cmp.eq(r1.new, #1)) jump:t .L2
|
|
}
|
|
.org .+2048
|
|
.L2:
|
|
|