1# RUN: llvm-mc -triple=hexagon -filetype=obj %s | llvm-objdump -d -r - | FileCheck %s 2# 3 4# Verify that capitaizled endloops work 5 6 { R0 = mpyi(R0,R0) } : endloop0 7 { R0 = mpyi(R0,R0) } : ENDLOOP0 8 { R0 = mpyi(R0,R0) }:endloop0 9 10 { R0 = mpyi(R0,R0) } : endloop1 11 { R0 = mpyi(R0,R0) } : ENDLOOP1 12 { R0 = mpyi(R0,R0) }:endloop1 13 14 { R0 = mpyi(R0,R0) } : endloop0 : endloop1 15 { R0 = mpyi(R0,R0) } : ENDLOOP0 : ENDLOOP1 16 { R0 = mpyi(R0,R0) }:endloop0:endloop1 17 18# CHECK: r0 = mpyi(r0, r0) 19# CHECK: :endloop0 20# CHECK: :endloop0 21# CHECK: :endloop0 22# CHECK: :endloop1 23# CHECK: :endloop1 24# CHECK: :endloop1 25# CHECK: :endloop0 :endloop1 26# CHECK: :endloop0 :endloop1 27# CHECK: :endloop0 :endloop1 28 29 30