mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
Handle the remaining cases also by handling asm goto in SystemZInstrInfo::getBranchInfo(). Review: Ulrich Weigand https://reviews.llvm.org/D67151 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371048 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|