mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
fbb16abc14
Handle the remaining cases also by handling asm goto in SystemZInstrInfo::getBranchInfo(). Review: Ulrich Weigand https://reviews.llvm.org/D67151 llvm-svn: 371048
16 lines
378 B
LLVM
16 lines
378 B
LLVM
; Test that asm goto can be compiled.
|
|
;
|
|
; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14
|
|
|
|
define i32 @c() {
|
|
entry:
|
|
callbr void asm sideeffect "j d", "X"(i8* blockaddress(@c, %d))
|
|
to label %asm.fallthrough [label %d]
|
|
|
|
asm.fallthrough: ; preds = %entry
|
|
br label %d
|
|
|
|
d: ; preds = %asm.fallthrough, %entry
|
|
ret i32 undef
|
|
}
|