cl: compileInstrAndValue bugfix

This commit is contained in:
xushiwei
2024-04-20 22:16:28 +08:00
parent 3509ac9c17
commit 294bd6c606
3 changed files with 21 additions and 131 deletions

View File

@@ -72,8 +72,7 @@ source_filename = "foo"
define void @init() {
_llgo_0:
%0 = load i1, ptr @"init$guard", align 1
%1 = load i1, ptr @"init$guard", align 1
br i1 %1, label %_llgo_2, label %_llgo_1
br i1 %0, label %_llgo_2, label %_llgo_1
_llgo_1: ; preds = %_llgo_0
store i1 true, ptr @"init$guard", align 1