summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Hexagon/dealloc-return-jump.s
blob: 0d480bef85d2bd5d18421b6e27b87c3b96a0b528 (plain)
1
2
3
4
5
6
7
# RUN: not llvm-mc -arch=hexagon -mcpu=hexagonv62 -filetype=obj -o - %s
# Check that a duplex involving dealloc_return is correctly checked
# dealloc_return cannot be involved in a double jump packet

{ r0=add(r0,#-1)
  p0=cmp.eq(r0,r0); if (p0.new) jump:nt 0
  if (p0) dealloc_return }
OpenPOWER on IntegriCloud