bolt/deps/llvm-18.1.8/llvm/test/CodeGen/SystemZ/asm-20.ll

16 lines
355 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; 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", "!i"()
to label %asm.fallthrough [label %d]
asm.fallthrough: ; preds = %entry
br label %d
d: ; preds = %asm.fallthrough, %entry
ret i32 undef
}