aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr11202.ll
blob: 13070d1c600e7b13eaf3a7fc2076a72f4b30a733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; 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