mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
the produce assembly when using CFI just a bit more readable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147743 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
503 B
LLVM
20 lines
503 B
LLVM
; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s
|
|
|
|
@bb = constant [1 x i8*] [i8* blockaddress(@main, %l2)]
|
|
|
|
define void @main() {
|
|
entry:
|
|
br label %l1
|
|
|
|
l1: ; preds = %l2, %entry
|
|
%a = zext i1 false to i32
|
|
br label %l2
|
|
|
|
l2: ; preds = %l1
|
|
%b = zext i1 false to i32
|
|
br label %l1
|
|
}
|
|
|
|
; CHECK: .Ltmp0: # Address of block that was removed by CodeGen
|
|
; CHECK: .quad .Ltmp0
|