Skip to content

Commit 3e49ce6

Browse files
authored
InlineSpiller: Delete assert that implicit_def has no implicit operands (llvm#69087)
It's not a verifier enforced property that implicit_def may only have one operand. Fixes assertions after the coalescer implicit-defs to preserve super register liveness to arbitrary instructions. For some reason I'm unable to reproduce this as a MIR test running only the allocator for the x86 test. Not sure it's worth keeping around.
1 parent d2e7a15 commit 3e49ce6

File tree

3 files changed

+360
-2
lines changed

3 files changed

+360
-2
lines changed

llvm/lib/CodeGen/InlineSpiller.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,8 +1071,7 @@ void InlineSpiller::insertReload(Register NewVReg,
10711071
static bool isRealSpill(const MachineInstr &Def) {
10721072
if (!Def.isImplicitDef())
10731073
return true;
1074-
assert(Def.getNumOperands() == 1 &&
1075-
"Implicit def with more than one definition");
1074+
10761075
// We can say that the VReg defined by Def is undef, only if it is
10771076
// fully defined by Def. Otherwise, some of the lanes may not be
10781077
// undef and the value of the VReg matters.
Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 3
2+
# RUN: llc -mtriple=arm64-apple-ios -run-pass=greedy -o - %s | FileCheck %s
3+
4+
---
5+
name: widget
6+
tracksRegLiveness: true
7+
jumpTable:
8+
kind: label-difference32
9+
entries:
10+
- id: 0
11+
blocks: [ '%bb.9', '%bb.5', '%bb.2', '%bb.2', '%bb.2' ]
12+
body: |
13+
; CHECK-LABEL: name: widget
14+
; CHECK: bb.0:
15+
; CHECK-NEXT: successors: %bb.1(0x80000000)
16+
; CHECK-NEXT: liveins: $w0, $w1, $x2, $x3, $x4, $w5, $w6
17+
; CHECK-NEXT: {{ $}}
18+
; CHECK-NEXT: [[DEF:%[0-9]+]]:gpr64common = IMPLICIT_DEF
19+
; CHECK-NEXT: [[DEF1:%[0-9]+]]:gpr64 = IMPLICIT_DEF
20+
; CHECK-NEXT: [[DEF2:%[0-9]+]]:gpr32common = IMPLICIT_DEF
21+
; CHECK-NEXT: [[DEF3:%[0-9]+]]:gpr32 = IMPLICIT_DEF
22+
; CHECK-NEXT: [[DEF4:%[0-9]+]]:gpr32 = IMPLICIT_DEF
23+
; CHECK-NEXT: [[DEF5:%[0-9]+]]:gpr64common = IMPLICIT_DEF
24+
; CHECK-NEXT: [[DEF6:%[0-9]+]]:gpr32 = IMPLICIT_DEF
25+
; CHECK-NEXT: undef [[DEF7:%[0-9]+]].sub_32:gpr64 = IMPLICIT_DEF
26+
; CHECK-NEXT: [[DEF8:%[0-9]+]]:gpr64common = IMPLICIT_DEF
27+
; CHECK-NEXT: [[DEF9:%[0-9]+]]:gpr32 = IMPLICIT_DEF
28+
; CHECK-NEXT: dead [[DEF10:%[0-9]+]]:gpr64 = IMPLICIT_DEF
29+
; CHECK-NEXT: undef [[DEF11:%[0-9]+]].sub_32:gpr64 = IMPLICIT_DEF implicit-def dead %11
30+
; CHECK-NEXT: STRXui [[DEF11]], %stack.0, 0 :: (store (s64) into %stack.0)
31+
; CHECK-NEXT: {{ $}}
32+
; CHECK-NEXT: bb.1:
33+
; CHECK-NEXT: successors: %bb.2(0x80000000)
34+
; CHECK-NEXT: {{ $}}
35+
; CHECK-NEXT: {{ $}}
36+
; CHECK-NEXT: bb.2:
37+
; CHECK-NEXT: successors: %bb.3(0x0fbefbf0), %bb.4(0x70410410)
38+
; CHECK-NEXT: {{ $}}
39+
; CHECK-NEXT: Bcc 8, %bb.3, implicit killed undef $nzcv
40+
; CHECK-NEXT: B %bb.4
41+
; CHECK-NEXT: {{ $}}
42+
; CHECK-NEXT: bb.3:
43+
; CHECK-NEXT: successors: %bb.11(0x00000000), %bb.2(0x80000000)
44+
; CHECK-NEXT: {{ $}}
45+
; CHECK-NEXT: dead $wzr = SUBSWri [[DEF2]], 64, 0, implicit-def $nzcv
46+
; CHECK-NEXT: Bcc 0, %bb.11, implicit killed undef $nzcv
47+
; CHECK-NEXT: B %bb.2
48+
; CHECK-NEXT: {{ $}}
49+
; CHECK-NEXT: bb.4:
50+
; CHECK-NEXT: successors: %bb.9(0x01288b01), %bb.5(0x01288b01), %bb.2(0x11f46a91), %bb.6(0x23e8d524), %bb.7(0x47d1aa49)
51+
; CHECK-NEXT: {{ $}}
52+
; CHECK-NEXT: dead early-clobber %12:gpr64, dead early-clobber %13:gpr64sp = JumpTableDest32 [[DEF8]], [[DEF7]], %jump-table.0
53+
; CHECK-NEXT: BR undef %18:gpr64
54+
; CHECK-NEXT: {{ $}}
55+
; CHECK-NEXT: bb.5:
56+
; CHECK-NEXT: successors: %bb.8(0x80000000)
57+
; CHECK-NEXT: {{ $}}
58+
; CHECK-NEXT: B %bb.8
59+
; CHECK-NEXT: {{ $}}
60+
; CHECK-NEXT: bb.6:
61+
; CHECK-NEXT: successors: %bb.2(0x80000000)
62+
; CHECK-NEXT: {{ $}}
63+
; CHECK-NEXT: STRWui [[DEF9]], [[DEF5]], 0 :: (store (s32))
64+
; CHECK-NEXT: B %bb.2
65+
; CHECK-NEXT: {{ $}}
66+
; CHECK-NEXT: bb.7:
67+
; CHECK-NEXT: successors: %bb.2(0x80000000)
68+
; CHECK-NEXT: {{ $}}
69+
; CHECK-NEXT: STRWui $wzr, [[DEF]], 0 :: (store (s32))
70+
; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
71+
; CHECK-NEXT: $w0 = COPY [[DEF4]]
72+
; CHECK-NEXT: $x1 = COPY [[DEF1]]
73+
; CHECK-NEXT: BL 0, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit-def $sp, implicit-def dead $w0
74+
; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
75+
; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
76+
; CHECK-NEXT: $w0 = COPY [[DEF6]]
77+
; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
78+
; CHECK-NEXT: B %bb.2
79+
; CHECK-NEXT: {{ $}}
80+
; CHECK-NEXT: bb.8:
81+
; CHECK-NEXT: successors: %bb.8(0x80000000)
82+
; CHECK-NEXT: {{ $}}
83+
; CHECK-NEXT: B %bb.8
84+
; CHECK-NEXT: {{ $}}
85+
; CHECK-NEXT: bb.9:
86+
; CHECK-NEXT: successors: %bb.10(0x40000000), %bb.1(0x40000000)
87+
; CHECK-NEXT: {{ $}}
88+
; CHECK-NEXT: undef [[DEF12:%[0-9]+]].sub_32:gpr64 = IMPLICIT_DEF
89+
; CHECK-NEXT: STRXui [[DEF12]], %stack.0, 0 :: (store (s64) into %stack.0)
90+
; CHECK-NEXT: TBZW [[DEF3]], 0, %bb.1
91+
; CHECK-NEXT: B %bb.10
92+
; CHECK-NEXT: {{ $}}
93+
; CHECK-NEXT: bb.10:
94+
; CHECK-NEXT: successors: %bb.1(0x80000000)
95+
; CHECK-NEXT: {{ $}}
96+
; CHECK-NEXT: ADJCALLSTACKDOWN 32, 0, implicit-def dead $sp, implicit $sp
97+
; CHECK-NEXT: ADJCALLSTACKUP 32, 0, implicit-def dead $sp, implicit $sp
98+
; CHECK-NEXT: B %bb.1
99+
; CHECK-NEXT: {{ $}}
100+
; CHECK-NEXT: bb.11:
101+
; CHECK-NEXT: [[LDRXui:%[0-9]+]]:gpr64 = LDRXui %stack.0, 0 :: (load (s64) from %stack.0)
102+
; CHECK-NEXT: dead undef [[COPY:%[0-9]+]].sub_32:gpr64 = COPY [[LDRXui]].sub_32
103+
; CHECK-NEXT: ADJCALLSTACKDOWN 8, 0, implicit-def dead $sp, implicit $sp
104+
; CHECK-NEXT: ADJCALLSTACKUP 8, 0, implicit-def dead $sp, implicit $sp
105+
bb.0:
106+
liveins: $w0, $w1, $x2, $x3, $x4, $w5, $w6
107+
108+
%0:gpr64common = IMPLICIT_DEF
109+
%1:gpr64 = IMPLICIT_DEF
110+
%2:gpr32common = IMPLICIT_DEF
111+
%3:gpr32 = IMPLICIT_DEF
112+
%4:gpr32 = IMPLICIT_DEF
113+
%5:gpr64common = IMPLICIT_DEF
114+
%6:gpr32 = IMPLICIT_DEF
115+
undef %7.sub_32:gpr64 = IMPLICIT_DEF
116+
%8:gpr64common = IMPLICIT_DEF
117+
%9:gpr32 = IMPLICIT_DEF
118+
%10:gpr64 = IMPLICIT_DEF
119+
undef %10.sub_32:gpr64 = IMPLICIT_DEF implicit-def %11:gpr64
120+
121+
bb.1:
122+
123+
bb.2:
124+
successors: %bb.3(0x0fbefbf0), %bb.4(0x70410410)
125+
126+
Bcc 8, %bb.3, implicit killed undef $nzcv
127+
B %bb.4
128+
129+
bb.3:
130+
successors: %bb.11(0x00000000), %bb.2(0x80000000)
131+
132+
dead $wzr = SUBSWri %2, 64, 0, implicit-def $nzcv
133+
Bcc 0, %bb.11, implicit killed undef $nzcv
134+
B %bb.2
135+
136+
bb.4:
137+
successors: %bb.9(0x01288b01), %bb.5(0x01288b01), %bb.2(0x11f46a91), %bb.6(0x23e8d524), %bb.7(0x47d1aa49)
138+
139+
early-clobber %12:gpr64, dead early-clobber %13:gpr64sp = JumpTableDest32 %8, %7, %jump-table.0
140+
BR undef %10
141+
142+
bb.5:
143+
B %bb.8
144+
145+
bb.6:
146+
STRWui %9, %5, 0 :: (store (s32))
147+
B %bb.2
148+
149+
bb.7:
150+
STRWui $wzr, %0, 0 :: (store (s32))
151+
ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
152+
$w0 = COPY %4
153+
$x1 = COPY %1
154+
BL 0, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit-def $sp, implicit-def dead $w0
155+
ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
156+
ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
157+
$w0 = COPY %6
158+
ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
159+
B %bb.2
160+
161+
bb.8:
162+
B %bb.8
163+
164+
bb.9:
165+
successors: %bb.10, %bb.1
166+
167+
undef %10.sub_32:gpr64 = IMPLICIT_DEF
168+
TBZW %3, 0, %bb.1
169+
B %bb.10
170+
171+
bb.10:
172+
ADJCALLSTACKDOWN 32, 0, implicit-def dead $sp, implicit $sp
173+
ADJCALLSTACKUP 32, 0, implicit-def dead $sp, implicit $sp
174+
B %bb.1
175+
176+
bb.11:
177+
undef %14.sub_32:gpr64 = COPY %10.sub_32
178+
ADJCALLSTACKDOWN 8, 0, implicit-def dead $sp, implicit $sp
179+
ADJCALLSTACKUP 8, 0, implicit-def dead $sp, implicit $sp
180+
181+
...
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 3
2+
; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
3+
4+
; Make sure there's no assert on an implicit-def with implicit operands
5+
; during register allocation.
6+
7+
%struct.BlockContext = type { [32 x i8], [32 x i8], [2 x [32 x i8]], [32 x i8], [32 x i8], [32 x i8], [32 x i8], [32 x i8], [2 x [32 x i8]], [2 x [32 x i8]], [32 x i8], [32 x i8], [32 x i8], [32 x i8], [16 x i8], [32 x i8], [32 x i8] }
8+
%struct.CdfModeContext = type { [4 x [16 x i16]], [2 x [13 x [16 x i16]]], [9 x [16 x i16]], [5 x [4 x [16 x i16]]], [6 x [16 x i16]], [2 x [16 x i16]], [16 x i16], [2 x [13 x [8 x i16]]], [3 x [13 x [8 x i16]]], [8 x i16], [8 x [8 x i16]], [8 x i16], [8 x [8 x i16]], [3 x [8 x i16]], [2 x [7 x [8 x i16]]], [2 x [7 x [5 x [8 x i16]]]], [2 x [8 x [4 x i16]]], [4 x [3 x [4 x i16]]], [22 x [4 x i16]], [4 x i16], [5 x [4 x i16]], [4 x [4 x i16]], [4 x i16], [2 x i16], [2 x i16], [7 x [2 x i16]], [7 x [2 x i16]], [4 x [2 x i16]], [22 x [2 x i16]], [6 x [2 x i16]], [2 x [2 x i16]], [6 x [2 x i16]], [3 x [2 x i16]], [4 x [2 x i16]], [5 x [2 x i16]], [5 x [2 x i16]], [6 x [2 x i16]], [6 x [2 x i16]], [9 x [2 x i16]], [6 x [3 x [2 x i16]]], [3 x [3 x [2 x i16]]], [2 x [3 x [2 x i16]]], [3 x [3 x [2 x i16]]], [7 x [3 x [2 x i16]]], [3 x [2 x i16]], [3 x [2 x i16]], [3 x [2 x i16]], [22 x [2 x i16]], [7 x [3 x [2 x i16]]], [2 x [2 x i16]], [2 x i16], [8 x i8] }
9+
10+
define i32 @decode_sb(ptr %t, i32 %bl, i32 %_msprop1966, i32 %sub.i, i64 %idxprom, i1 %cmp54) #0 {
11+
; CHECK-LABEL: decode_sb:
12+
; CHECK: # %bb.0: # %entry
13+
; CHECK-NEXT: pushq %rbp
14+
; CHECK-NEXT: .cfi_def_cfa_offset 16
15+
; CHECK-NEXT: .cfi_offset %rbp, -16
16+
; CHECK-NEXT: movq %rsp, %rbp
17+
; CHECK-NEXT: .cfi_def_cfa_register %rbp
18+
; CHECK-NEXT: pushq %r15
19+
; CHECK-NEXT: pushq %r14
20+
; CHECK-NEXT: pushq %r13
21+
; CHECK-NEXT: pushq %r12
22+
; CHECK-NEXT: pushq %rbx
23+
; CHECK-NEXT: subq $24, %rsp
24+
; CHECK-NEXT: .cfi_offset %rbx, -56
25+
; CHECK-NEXT: .cfi_offset %r12, -48
26+
; CHECK-NEXT: .cfi_offset %r13, -40
27+
; CHECK-NEXT: .cfi_offset %r14, -32
28+
; CHECK-NEXT: .cfi_offset %r15, -24
29+
; CHECK-NEXT: movl %r9d, %ebx
30+
; CHECK-NEXT: movabsq $87960930222080, %r15 # imm = 0x500000000000
31+
; CHECK-NEXT: movl 0, %r13d
32+
; CHECK-NEXT: movl %esi, %r12d
33+
; CHECK-NEXT: # implicit-def: $eax
34+
; CHECK-NEXT: movq %rax, {{[-0-9]+}}(%r{{[sb]}}p) # 8-byte Spill
35+
; CHECK-NEXT: testb $1, %bl
36+
; CHECK-NEXT: jne .LBB0_7
37+
; CHECK-NEXT: # %bb.1: # %if.else
38+
; CHECK-NEXT: movq %r8, %r14
39+
; CHECK-NEXT: movl %ecx, %eax
40+
; CHECK-NEXT: andl $1, %eax
41+
; CHECK-NEXT: movq %rax, {{[-0-9]+}}(%r{{[sb]}}p) # 8-byte Spill
42+
; CHECK-NEXT: movzbl 544(%rax), %eax
43+
; CHECK-NEXT: andl $1, %eax
44+
; CHECK-NEXT: movl %r15d, %r9d
45+
; CHECK-NEXT: andl $1, %r9d
46+
; CHECK-NEXT: movl %r14d, %r10d
47+
; CHECK-NEXT: andl $1, %r10d
48+
; CHECK-NEXT: movl %esi, %r11d
49+
; CHECK-NEXT: # kill: def $cl killed $cl killed $ecx
50+
; CHECK-NEXT: shrl %cl, %r11d
51+
; CHECK-NEXT: movabsq $17592186044416, %r8 # imm = 0x100000000000
52+
; CHECK-NEXT: orq %r10, %r8
53+
; CHECK-NEXT: andl $2, %r11d
54+
; CHECK-NEXT: testb $1, %bl
55+
; CHECK-NEXT: cmoveq %r9, %r8
56+
; CHECK-NEXT: movl %edx, %ecx
57+
; CHECK-NEXT: orq %rax, %rcx
58+
; CHECK-NEXT: movq %r13, {{[-0-9]+}}(%r{{[sb]}}p) # 8-byte Spill
59+
; CHECK-NEXT: orq $1, %r13
60+
; CHECK-NEXT: orl %esi, %r11d
61+
; CHECK-NEXT: movl $1, %edx
62+
; CHECK-NEXT: je .LBB0_3
63+
; CHECK-NEXT: # %bb.2: # %if.else
64+
; CHECK-NEXT: movl (%r8), %edx
65+
; CHECK-NEXT: .LBB0_3: # %if.else
66+
; CHECK-NEXT: shlq $5, %rcx
67+
; CHECK-NEXT: movq %r12, %rsi
68+
; CHECK-NEXT: shlq $7, %rsi
69+
; CHECK-NEXT: addq %rcx, %rsi
70+
; CHECK-NEXT: addq $1248, %rsi # imm = 0x4E0
71+
; CHECK-NEXT: movq %r13, 0
72+
; CHECK-NEXT: movq %rdi, %r15
73+
; CHECK-NEXT: movl %edx, (%rdi)
74+
; CHECK-NEXT: xorl %eax, %eax
75+
; CHECK-NEXT: xorl %edi, %edi
76+
; CHECK-NEXT: xorl %edx, %edx
77+
; CHECK-NEXT: callq *%rax
78+
; CHECK-NEXT: xorq $1, %r14
79+
; CHECK-NEXT: cmpl $0, (%r14)
80+
; CHECK-NEXT: je .LBB0_6
81+
; CHECK-NEXT: # %bb.4: # %if.else
82+
; CHECK-NEXT: movb $1, %al
83+
; CHECK-NEXT: testb %al, %al
84+
; CHECK-NEXT: je .LBB0_5
85+
; CHECK-NEXT: .LBB0_6: # %bb19
86+
; CHECK-NEXT: testb $1, %bl
87+
; CHECK-NEXT: movq %r15, %rdi
88+
; CHECK-NEXT: movabsq $87960930222080, %r15 # imm = 0x500000000000
89+
; CHECK-NEXT: movq {{[-0-9]+}}(%r{{[sb]}}p), %r13 # 8-byte Reload
90+
; CHECK-NEXT: jne .LBB0_8
91+
; CHECK-NEXT: .LBB0_7: # %if.end69
92+
; CHECK-NEXT: movl %r13d, 0
93+
; CHECK-NEXT: xorl %eax, %eax
94+
; CHECK-NEXT: xorl %esi, %esi
95+
; CHECK-NEXT: xorl %edx, %edx
96+
; CHECK-NEXT: xorl %ecx, %ecx
97+
; CHECK-NEXT: xorl %r8d, %r8d
98+
; CHECK-NEXT: callq *%rax
99+
; CHECK-NEXT: xorq %r15, %r12
100+
; CHECK-NEXT: movslq {{[-0-9]+}}(%r{{[sb]}}p), %rax # 4-byte Folded Reload
101+
; CHECK-NEXT: movzbl (%r12), %ecx
102+
; CHECK-NEXT: movb %cl, 544(%rax)
103+
; CHECK-NEXT: .LBB0_8: # %land.lhs.true56
104+
; CHECK-NEXT: xorl %eax, %eax
105+
; CHECK-NEXT: addq $24, %rsp
106+
; CHECK-NEXT: popq %rbx
107+
; CHECK-NEXT: popq %r12
108+
; CHECK-NEXT: popq %r13
109+
; CHECK-NEXT: popq %r14
110+
; CHECK-NEXT: popq %r15
111+
; CHECK-NEXT: popq %rbp
112+
; CHECK-NEXT: .cfi_def_cfa %rsp, 8
113+
; CHECK-NEXT: retq
114+
; CHECK-NEXT: .LBB0_5: # %bb
115+
entry:
116+
%i = load i32, ptr null, align 8
117+
br i1 %cmp54, label %if.end69, label %if.else
118+
119+
if.else: ; preds = %entry
120+
%shr18 = and i32 %sub.i, 1
121+
%idxprom.i = zext i32 %shr18 to i64
122+
%arrayidx.i = getelementptr %struct.BlockContext, ptr null, i64 0, i32 14, i64 %idxprom.i
123+
%i1 = load i8, ptr %arrayidx.i, align 1
124+
%conv.i = zext i8 %i1 to i32
125+
%and.i = and i32 %conv.i, 1
126+
%i2 = and i64 87960930222080, 1
127+
%i3 = inttoptr i64 %i2 to ptr
128+
%i4 = load i32, ptr %i3, align 4
129+
%i5 = and i64 %idxprom, 1
130+
%i6 = or i64 %i5, 17592186044416
131+
%i7 = inttoptr i64 %i6 to ptr
132+
%i8 = load i32, ptr %i7, align 4
133+
%i9 = lshr i32 %bl, %sub.i
134+
%i10 = and i32 %i9, 2
135+
%i11 = or i32 %bl, %i10
136+
%i12 = select i1 %cmp54, i32 %i8, i32 %i4
137+
%add.i = or i32 %_msprop1966, %and.i
138+
%idxprom4 = zext i32 %bl to i64
139+
%idxprom24 = zext i32 %add.i to i64
140+
%i13 = or i32 %i, 1
141+
%i14 = zext i32 %i13 to i64
142+
%.not2329 = icmp eq i32 %i11, 0
143+
%i15 = select i1 %.not2329, i32 1, i32 %i12
144+
%arrayidx25 = getelementptr %struct.CdfModeContext, ptr null, i64 0, i32 3, i64 %idxprom4, i64 %idxprom24
145+
store i64 %i14, ptr null, align 8
146+
store i32 %i15, ptr %t, align 4
147+
%call53 = tail call i32 null(ptr null, ptr %arrayidx25, i64 0)
148+
%i16 = xor i64 %idxprom, 1
149+
%i17 = inttoptr i64 %i16 to ptr
150+
%_msld1992 = load i32, ptr %i17, align 8
151+
%i18 = icmp ne i32 %_msld1992, 0
152+
%_msprop_icmp1993 = and i1 %i18, false
153+
br i1 %_msprop_icmp1993, label %bb, label %bb19
154+
155+
bb: ; preds = %if.else
156+
unreachable
157+
158+
bb19: ; preds = %if.else
159+
br i1 %cmp54, label %land.lhs.true56, label %if.end69
160+
161+
land.lhs.true56: ; preds = %bb19
162+
ret i32 0
163+
164+
if.end69: ; preds = %bb19, %entry
165+
%bx8.011941201 = phi i32 [ %shr18, %bb19 ], [ undef, %entry ]
166+
store i32 %i, ptr null, align 8
167+
%call79 = tail call fastcc i32 null(ptr %t, i32 0, i32 0, i32 0, i32 0)
168+
%idxprom666 = zext i32 %bl to i64
169+
%i20 = xor i64 %idxprom666, 87960930222080
170+
%idxprom675 = sext i32 %bx8.011941201 to i64
171+
%arrayidx676 = getelementptr %struct.BlockContext, ptr null, i64 0, i32 14, i64 %idxprom675
172+
%i21 = inttoptr i64 %i20 to ptr
173+
%_msld1414 = load i8, ptr %i21, align 1
174+
store i8 %_msld1414, ptr %arrayidx676, align 1
175+
ret i32 0
176+
}
177+
178+
attributes #0 = { "frame-pointer"="all" "target-cpu"="x86-64" }

0 commit comments

Comments
 (0)