mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-14 09:26:22 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327271 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
444 B
LLVM
20 lines
444 B
LLVM
; RUN: llc -march=hexagon < %s
|
|
; REQUIRES: asserts
|
|
|
|
; Function Attrs: nounwind
|
|
define void @f0() #0 {
|
|
b0:
|
|
call void bitcast (void (...)* @f1 to void (i8*)*)(i8* blockaddress(@f0, %b1))
|
|
br label %b1
|
|
|
|
b1: ; preds = %b2, %b0
|
|
ret void
|
|
|
|
b2: ; No predecessors!
|
|
indirectbr i8* undef, [label %b1]
|
|
}
|
|
|
|
declare void @f1(...)
|
|
|
|
attributes #0 = { nounwind }
|