mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
ee9eb411ff
otherwise labels get incorrectly merged. We handled this by emitting a ".byte 0", but this isn't correct on thumb/arm targets where the text segment needs to be a multiple of 2/4 bytes. Handle this by emitting a noop. This is more gross than it should be because arm/ppc are not fully mc'ized yet. This fixes rdar://7908505 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102400 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
152 B
LLVM
9 lines
152 B
LLVM
; RUN: llc < %s -march=ppc32 | grep nop
|
|
target triple = "powerpc-apple-darwin8"
|
|
|
|
|
|
define void @bork() noreturn nounwind {
|
|
entry:
|
|
unreachable
|
|
}
|