summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated
diff options
context:
space:
mode:
Diffstat (limited to 'test/llvm_autogenerated')
-rw-r--r--test/llvm_autogenerated/call.s48
-rw-r--r--test/llvm_autogenerated/cfg-stackify.s486
-rw-r--r--test/llvm_autogenerated/cfg-stackify.wast254
-rw-r--r--test/llvm_autogenerated/comparisons_f32.s56
-rw-r--r--test/llvm_autogenerated/comparisons_f64.s56
-rw-r--r--test/llvm_autogenerated/comparisons_i32.s40
-rw-r--r--test/llvm_autogenerated/comparisons_i64.s40
-rw-r--r--test/llvm_autogenerated/conv.s104
-rw-r--r--test/llvm_autogenerated/copysign-casts.s8
-rw-r--r--test/llvm_autogenerated/cpus.s4
-rw-r--r--test/llvm_autogenerated/dead-vreg.s28
-rw-r--r--test/llvm_autogenerated/dead-vreg.wast16
-rw-r--r--test/llvm_autogenerated/f32.s64
-rw-r--r--test/llvm_autogenerated/f64.s64
-rw-r--r--test/llvm_autogenerated/fast-isel.s8
-rw-r--r--test/llvm_autogenerated/frem.s8
-rw-r--r--test/llvm_autogenerated/func.s30
-rw-r--r--test/llvm_autogenerated/func.wast4
-rw-r--r--test/llvm_autogenerated/global.s14
-rw-r--r--test/llvm_autogenerated/globl.s4
-rw-r--r--test/llvm_autogenerated/i32.s72
-rw-r--r--test/llvm_autogenerated/i64.s72
-rw-r--r--test/llvm_autogenerated/immediates.s96
-rw-r--r--test/llvm_autogenerated/legalize.s24
-rw-r--r--test/llvm_autogenerated/load-ext.s40
-rw-r--r--test/llvm_autogenerated/load-store-i1.s24
-rw-r--r--test/llvm_autogenerated/load.s16
-rw-r--r--test/llvm_autogenerated/memory-addr32.s8
-rw-r--r--test/llvm_autogenerated/memory-addr64.s8
-rw-r--r--test/llvm_autogenerated/offset-folding.s16
-rw-r--r--test/llvm_autogenerated/offset.s128
-rw-r--r--test/llvm_autogenerated/phi.s22
-rw-r--r--test/llvm_autogenerated/phi.wast8
-rw-r--r--test/llvm_autogenerated/reg-stackify.s38
-rw-r--r--test/llvm_autogenerated/reg-stackify.wast10
-rw-r--r--test/llvm_autogenerated/return-int32.s4
-rw-r--r--test/llvm_autogenerated/return-void.s4
-rw-r--r--test/llvm_autogenerated/select.s48
-rw-r--r--test/llvm_autogenerated/signext-zeroext.s16
-rw-r--r--test/llvm_autogenerated/store-results.s28
-rw-r--r--test/llvm_autogenerated/store-results.wast8
-rw-r--r--test/llvm_autogenerated/store-trunc.s20
-rw-r--r--test/llvm_autogenerated/store.s16
-rw-r--r--test/llvm_autogenerated/switch.s92
-rw-r--r--test/llvm_autogenerated/switch.wast56
-rw-r--r--test/llvm_autogenerated/unreachable.s12
-rw-r--r--test/llvm_autogenerated/unused-argument.s12
-rw-r--r--test/llvm_autogenerated/userstack.s16
-rw-r--r--test/llvm_autogenerated/varargs.s28
49 files changed, 1139 insertions, 1139 deletions
diff --git a/test/llvm_autogenerated/call.s b/test/llvm_autogenerated/call.s
index 3a9df9eb1..f406bbaaf 100644
--- a/test/llvm_autogenerated/call.s
+++ b/test/llvm_autogenerated/call.s
@@ -6,8 +6,8 @@ call_i32_nullary:
.result i32
i32.call $push0=, i32_nullary
return $pop0
-func_end0:
- .size call_i32_nullary, func_end0-call_i32_nullary
+.Lfunc_end0:
+ .size call_i32_nullary, .Lfunc_end0-call_i32_nullary
.globl call_i64_nullary
.type call_i64_nullary,@function
@@ -15,8 +15,8 @@ call_i64_nullary:
.result i64
i64.call $push0=, i64_nullary
return $pop0
-func_end1:
- .size call_i64_nullary, func_end1-call_i64_nullary
+.Lfunc_end1:
+ .size call_i64_nullary, .Lfunc_end1-call_i64_nullary
.globl call_float_nullary
.type call_float_nullary,@function
@@ -24,8 +24,8 @@ call_float_nullary:
.result f32
f32.call $push0=, float_nullary
return $pop0
-func_end2:
- .size call_float_nullary, func_end2-call_float_nullary
+.Lfunc_end2:
+ .size call_float_nullary, .Lfunc_end2-call_float_nullary
.globl call_double_nullary
.type call_double_nullary,@function
@@ -33,16 +33,16 @@ call_double_nullary:
.result f64
f64.call $push0=, double_nullary
return $pop0
-func_end3:
- .size call_double_nullary, func_end3-call_double_nullary
+.Lfunc_end3:
+ .size call_double_nullary, .Lfunc_end3-call_double_nullary
.globl call_void_nullary
.type call_void_nullary,@function
call_void_nullary:
call void_nullary
return
-func_end4:
- .size call_void_nullary, func_end4-call_void_nullary
+.Lfunc_end4:
+ .size call_void_nullary, .Lfunc_end4-call_void_nullary
.globl call_i32_unary
.type call_i32_unary,@function
@@ -51,8 +51,8 @@ call_i32_unary:
.result i32
i32.call $push0=, i32_unary, $0
return $pop0
-func_end5:
- .size call_i32_unary, func_end5-call_i32_unary
+.Lfunc_end5:
+ .size call_i32_unary, .Lfunc_end5-call_i32_unary
.globl call_i32_binary
.type call_i32_binary,@function
@@ -61,8 +61,8 @@ call_i32_binary:
.result i32
i32.call $push0=, i32_binary, $0, $1
return $pop0
-func_end6:
- .size call_i32_binary, func_end6-call_i32_binary
+.Lfunc_end6:
+ .size call_i32_binary, .Lfunc_end6-call_i32_binary
.globl call_indirect_void
.type call_indirect_void,@function
@@ -70,8 +70,8 @@ call_indirect_void:
.param i32
call_indirect $0
return
-func_end7:
- .size call_indirect_void, func_end7-call_indirect_void
+.Lfunc_end7:
+ .size call_indirect_void, .Lfunc_end7-call_indirect_void
.globl call_indirect_i32
.type call_indirect_i32,@function
@@ -80,32 +80,32 @@ call_indirect_i32:
.result i32
i32.call_indirect $push0=, $0
return $pop0
-func_end8:
- .size call_indirect_i32, func_end8-call_indirect_i32
+.Lfunc_end8:
+ .size call_indirect_i32, .Lfunc_end8-call_indirect_i32
.globl tail_call_void_nullary
.type tail_call_void_nullary,@function
tail_call_void_nullary:
call void_nullary
return
-func_end9:
- .size tail_call_void_nullary, func_end9-tail_call_void_nullary
+.Lfunc_end9:
+ .size tail_call_void_nullary, .Lfunc_end9-tail_call_void_nullary
.globl fastcc_tail_call_void_nullary
.type fastcc_tail_call_void_nullary,@function
fastcc_tail_call_void_nullary:
call void_nullary
return
-func_end10:
- .size fastcc_tail_call_void_nullary, func_end10-fastcc_tail_call_void_nullary
+.Lfunc_end10:
+ .size fastcc_tail_call_void_nullary, .Lfunc_end10-fastcc_tail_call_void_nullary
.globl coldcc_tail_call_void_nullary
.type coldcc_tail_call_void_nullary,@function
coldcc_tail_call_void_nullary:
call void_nullary
return
-func_end11:
- .size coldcc_tail_call_void_nullary, func_end11-coldcc_tail_call_void_nullary
+.Lfunc_end11:
+ .size coldcc_tail_call_void_nullary, .Lfunc_end11-coldcc_tail_call_void_nullary
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/cfg-stackify.s b/test/llvm_autogenerated/cfg-stackify.s
index 912e54b09..eec847fa1 100644
--- a/test/llvm_autogenerated/cfg-stackify.s
+++ b/test/llvm_autogenerated/cfg-stackify.s
@@ -6,18 +6,18 @@ test0:
.param i32
.local i32
i32.const $1=, 0
-BB0_1:
- loop BB0_3
+.LBB0_1:
+ loop .LBB0_3
i32.const $push0=, 1
i32.add $1=, $1, $pop0
i32.ge_s $push1=, $1, $0
- br_if $pop1, BB0_3
+ br_if $pop1, .LBB0_3
call something
- br BB0_1
-BB0_3:
+ br .LBB0_1
+.LBB0_3:
return
-func_end0:
- .size test0, func_end0-test0
+.Lfunc_end0:
+ .size test0, .Lfunc_end0-test0
.globl test1
.type test1,@function
@@ -25,29 +25,29 @@ test1:
.param i32
.local i32
i32.const $1=, 0
-BB1_1:
- loop BB1_3
+.LBB1_1:
+ loop .LBB1_3
i32.const $push0=, 1
i32.add $1=, $1, $pop0
i32.ge_s $push1=, $1, $0
- br_if $pop1, BB1_3
+ br_if $pop1, .LBB1_3
call something
- br BB1_1
-BB1_3:
+ br .LBB1_1
+.LBB1_3:
return
-func_end1:
- .size test1, func_end1-test1
+.Lfunc_end1:
+ .size test1, .Lfunc_end1-test1
.globl test2
.type test2,@function
test2:
.param i32, i32
- block BB2_2
+ block .LBB2_2
i32.const $push0=, 1
i32.lt_s $push1=, $1, $pop0
- br_if $pop1, BB2_2
-BB2_1:
- loop BB2_2
+ br_if $pop1, .LBB2_2
+.LBB2_1:
+ loop .LBB2_2
i32.const $push5=, -1
i32.add $1=, $1, $pop5
f64.load $push2=, 0($0)
@@ -56,11 +56,11 @@ BB2_1:
f64.store $discard=, 0($0), $pop4
i32.const $push6=, 8
i32.add $0=, $0, $pop6
- br_if $1, BB2_1
-BB2_2:
+ br_if $1, .LBB2_1
+.LBB2_2:
return
-func_end2:
- .size test2, func_end2-test2
+.Lfunc_end2:
+ .size test2, .Lfunc_end2-test2
.globl doublediamond
.type doublediamond,@function
@@ -68,31 +68,31 @@ doublediamond:
.param i32, i32, i32
.result i32
.local i32
- block BB3_5
- block BB3_2
+ block .LBB3_5
+ block .LBB3_2
i32.const $push0=, 0
i32.store $3=, 0($2), $pop0
- br_if $0, BB3_2
+ br_if $0, .LBB3_2
i32.const $push4=, 1
i32.store $discard=, 0($2), $pop4
- br BB3_5
-BB3_2:
- block BB3_4
+ br .LBB3_5
+.LBB3_2:
+ block .LBB3_4
i32.const $push1=, 2
i32.store $discard=, 0($2), $pop1
- br_if $1, BB3_4
+ br_if $1, .LBB3_4
i32.const $push3=, 3
i32.store $discard=, 0($2), $pop3
- br BB3_5
-BB3_4:
+ br .LBB3_5
+.LBB3_4:
i32.const $push2=, 4
i32.store $discard=, 0($2), $pop2
-BB3_5:
+.LBB3_5:
i32.const $push5=, 5
i32.store $discard=, 0($2), $pop5
return $3
-func_end3:
- .size doublediamond, func_end3-doublediamond
+.Lfunc_end3:
+ .size doublediamond, .Lfunc_end3-doublediamond
.globl triangle
.type triangle,@function
@@ -100,18 +100,18 @@ triangle:
.param i32, i32
.result i32
.local i32
- block BB4_2
+ block .LBB4_2
i32.const $push0=, 0
i32.store $2=, 0($0), $pop0
- br_if $1, BB4_2
+ br_if $1, .LBB4_2
i32.const $push1=, 1
i32.store $discard=, 0($0), $pop1
-BB4_2:
+.LBB4_2:
i32.const $push2=, 2
i32.store $discard=, 0($0), $pop2
return $2
-func_end4:
- .size triangle, func_end4-triangle
+.Lfunc_end4:
+ .size triangle, .Lfunc_end4-triangle
.globl diamond
.type diamond,@function
@@ -119,23 +119,23 @@ diamond:
.param i32, i32
.result i32
.local i32
- block BB5_3
- block BB5_2
+ block .LBB5_3
+ block .LBB5_2
i32.const $push0=, 0
i32.store $2=, 0($0), $pop0
- br_if $1, BB5_2
+ br_if $1, .LBB5_2
i32.const $push2=, 1
i32.store $discard=, 0($0), $pop2
- br BB5_3
-BB5_2:
+ br .LBB5_3
+.LBB5_2:
i32.const $push1=, 2
i32.store $discard=, 0($0), $pop1
-BB5_3:
+.LBB5_3:
i32.const $push3=, 3
i32.store $discard=, 0($0), $pop3
return $2
-func_end5:
- .size diamond, func_end5-diamond
+.Lfunc_end5:
+ .size diamond, .Lfunc_end5-diamond
.globl single_block
.type single_block,@function
@@ -145,8 +145,8 @@ single_block:
i32.const $push0=, 0
i32.store $push1=, 0($0), $pop0
return $pop1
-func_end6:
- .size single_block, func_end6-single_block
+.Lfunc_end6:
+ .size single_block, .Lfunc_end6-single_block
.globl minimal_loop
.type minimal_loop,@function
@@ -155,14 +155,14 @@ minimal_loop:
.result i32
i32.const $push0=, 0
i32.store $discard=, 0($0), $pop0
-BB7_1:
- loop BB7_2
+.LBB7_1:
+ loop .LBB7_2
i32.const $push1=, 1
i32.store $discard=, 0($0), $pop1
- br BB7_1
-BB7_2:
-func_end7:
- .size minimal_loop, func_end7-minimal_loop
+ br .LBB7_1
+.LBB7_2:
+.Lfunc_end7:
+ .size minimal_loop, .Lfunc_end7-minimal_loop
.globl simple_loop
.type simple_loop,@function
@@ -172,19 +172,19 @@ simple_loop:
.local i32
i32.const $push0=, 0
i32.store $2=, 0($0), $pop0
-BB8_1:
- loop BB8_2
+.LBB8_1:
+ loop .LBB8_2
i32.const $push1=, 1
i32.store $discard=, 0($0), $pop1
i32.const $push3=, 0
i32.eq $push4=, $1, $pop3
- br_if $pop4, BB8_1
-BB8_2:
+ br_if $pop4, .LBB8_1
+.LBB8_2:
i32.const $push2=, 2
i32.store $discard=, 0($0), $pop2
return $2
-func_end8:
- .size simple_loop, func_end8-simple_loop
+.Lfunc_end8:
+ .size simple_loop, .Lfunc_end8-simple_loop
.globl doubletriangle
.type doubletriangle,@function
@@ -192,25 +192,25 @@ doubletriangle:
.param i32, i32, i32
.result i32
.local i32
- block BB9_4
+ block .LBB9_4
i32.const $push0=, 0
i32.store $3=, 0($2), $pop0
- br_if $0, BB9_4
- block BB9_3
+ br_if $0, .LBB9_4
+ block .LBB9_3
i32.const $push1=, 2
i32.store $discard=, 0($2), $pop1
- br_if $1, BB9_3
+ br_if $1, .LBB9_3
i32.const $push2=, 3
i32.store $discard=, 0($2), $pop2
-BB9_3:
+.LBB9_3:
i32.const $push3=, 4
i32.store $discard=, 0($2), $pop3
-BB9_4:
+.LBB9_4:
i32.const $push4=, 5
i32.store $discard=, 0($2), $pop4
return $3
-func_end9:
- .size doubletriangle, func_end9-doubletriangle
+.Lfunc_end9:
+ .size doubletriangle, .Lfunc_end9-doubletriangle
.globl ifelse_earlyexits
.type ifelse_earlyexits,@function
@@ -218,184 +218,184 @@ ifelse_earlyexits:
.param i32, i32, i32
.result i32
.local i32
- block BB10_4
- block BB10_2
+ block .LBB10_4
+ block .LBB10_2
i32.const $push0=, 0
i32.store $3=, 0($2), $pop0
- br_if $0, BB10_2
+ br_if $0, .LBB10_2
i32.const $push3=, 1
i32.store $discard=, 0($2), $pop3
- br BB10_4
-BB10_2:
+ br .LBB10_4
+.LBB10_2:
i32.const $push1=, 2
i32.store $discard=, 0($2), $pop1
- br_if $1, BB10_4
+ br_if $1, .LBB10_4
i32.const $push2=, 3
i32.store $discard=, 0($2), $pop2
-BB10_4:
+.LBB10_4:
i32.const $push4=, 4
i32.store $discard=, 0($2), $pop4
return $3
-func_end10:
- .size ifelse_earlyexits, func_end10-ifelse_earlyexits
+.Lfunc_end10:
+ .size ifelse_earlyexits, .Lfunc_end10-ifelse_earlyexits
.globl doublediamond_in_a_loop
.type doublediamond_in_a_loop,@function
doublediamond_in_a_loop:
.param i32, i32, i32
.result i32
-BB11_1:
- loop BB11_7
- block BB11_6
- block BB11_3
+.LBB11_1:
+ loop .LBB11_7
+ block .LBB11_6
+ block .LBB11_3
i32.const $push0=, 0
i32.store $discard=, 0($2), $pop0
- br_if $0, BB11_3
+ br_if $0, .LBB11_3
i32.const $push4=, 1
i32.store $discard=, 0($2), $pop4
- br BB11_6
-BB11_3:
- block BB11_5
+ br .LBB11_6
+.LBB11_3:
+ block .LBB11_5
i32.const $push1=, 2
i32.store $discard=, 0($2), $pop1
- br_if $1, BB11_5
+ br_if $1, .LBB11_5
i32.const $push3=, 3
i32.store $discard=, 0($2), $pop3
- br BB11_6
-BB11_5:
+ br .LBB11_6
+.LBB11_5:
i32.const $push2=, 4
i32.store $discard=, 0($2), $pop2
-BB11_6:
+.LBB11_6:
i32.const $push5=, 5
i32.store $discard=, 0($2), $pop5
- br BB11_1
-BB11_7:
-func_end11:
- .size doublediamond_in_a_loop, func_end11-doublediamond_in_a_loop
+ br .LBB11_1
+.LBB11_7:
+.Lfunc_end11:
+ .size doublediamond_in_a_loop, .Lfunc_end11-doublediamond_in_a_loop
.globl test3
.type test3,@function
test3:
.param i32
- block BB12_5
+ block .LBB12_5
i32.const $push0=, 0
- br_if $pop0, BB12_5
-BB12_1:
- loop BB12_4
- br_if $0, BB12_4
-BB12_2:
- loop BB12_3
+ br_if $pop0, .LBB12_5
+.LBB12_1:
+ loop .LBB12_4
+ br_if $0, .LBB12_4
+.LBB12_2:
+ loop .LBB12_3
i32.ne $push1=, $0, $0
- br_if $pop1, BB12_2
-BB12_3:
+ br_if $pop1, .LBB12_2
+.LBB12_3:
call bar
- br BB12_1
-BB12_4:
+ br .LBB12_1
+.LBB12_4:
unreachable
-BB12_5:
+.LBB12_5:
return
-func_end12:
- .size test3, func_end12-test3
+.Lfunc_end12:
+ .size test3, .Lfunc_end12-test3
.globl test4
.type test4,@function
test4:
.param i32
- block BB13_8
- block BB13_7
- block BB13_4
+ block .LBB13_8
+ block .LBB13_7
+ block .LBB13_4
i32.const $push0=, 3
i32.gt_s $push1=, $0, $pop0
- br_if $pop1, BB13_4
- block BB13_3
+ br_if $pop1, .LBB13_4
+ block .LBB13_3
i32.const $push8=, 0
i32.eq $push9=, $0, $pop8
- br_if $pop9, BB13_3
+ br_if $pop9, .LBB13_3
i32.const $push6=, 2
i32.ne $push7=, $0, $pop6
- br_if $pop7, BB13_7
-BB13_3:
+ br_if $pop7, .LBB13_7
+.LBB13_3:
return
-BB13_4:
+.LBB13_4:
i32.const $push2=, 4
i32.eq $push3=, $0, $pop2
- br_if $pop3, BB13_8
+ br_if $pop3, .LBB13_8
i32.const $push4=, 622
i32.ne $push5=, $0, $pop4
- br_if $pop5, BB13_7
+ br_if $pop5, .LBB13_7
return
-BB13_7:
+.LBB13_7:
return
-BB13_8:
+.LBB13_8:
return
-func_end13:
- .size test4, func_end13-test4
+.Lfunc_end13:
+ .size test4, .Lfunc_end13-test4
.globl test5
.type test5,@function
test5:
.param i32, i32
.local i32, i32
-BB14_1:
- block BB14_4
- loop BB14_3
+.LBB14_1:
+ block .LBB14_4
+ loop .LBB14_3
i32.const $2=, 0
i32.store $3=, 0($2), $2
i32.const $2=, 1
i32.and $push0=, $0, $2
i32.const $push5=, 0
i32.eq $push6=, $pop0, $pop5
- br_if $pop6, BB14_4
+ br_if $pop6, .LBB14_4
i32.store $push2=, 0($3), $2
i32.and $push3=, $1, $pop2
- br_if $pop3, BB14_1
-BB14_3:
+ br_if $pop3, .LBB14_1
+.LBB14_3:
i32.const $push4=, 3
i32.store $discard=, 0($3), $pop4
return
-BB14_4:
+.LBB14_4:
i32.const $push1=, 2
i32.store $discard=, 0($3), $pop1
return
-func_end14:
- .size test5, func_end14-test5
+.Lfunc_end14:
+ .size test5, .Lfunc_end14-test5
.globl test6
.type test6,@function
test6:
.param i32, i32
.local i32, i32, i32
-BB15_1:
- block BB15_6
- block BB15_5
- loop BB15_4
+.LBB15_1:
+ block .LBB15_6
+ block .LBB15_5
+ loop .LBB15_4
i32.const $2=, 0
i32.store $discard=, 0($2), $2
i32.const $3=, 1
i32.and $push0=, $0, $3
i32.const $push4=, 0
i32.eq $push5=, $pop0, $pop4
- br_if $pop5, BB15_6
+ br_if $pop5, .LBB15_6
i32.store $discard=, 0($2), $3
i32.and $4=, $1, $3
i32.const $push6=, 0
i32.eq $push7=, $4, $pop6
- br_if $pop7, BB15_5
+ br_if $pop7, .LBB15_5
i32.store $discard=, 0($2), $3
- br_if $4, BB15_1
-BB15_4:
+ br_if $4, .LBB15_1
+.LBB15_4:
i32.const $push3=, 2
i32.store $discard=, 0($2), $pop3
return
-BB15_5:
+.LBB15_5:
i32.const $push1=, 3
i32.store $discard=, 0($2), $pop1
-BB15_6:
+.LBB15_6:
i32.const $push2=, 4
i32.store $discard=, 0($2), $pop2
return
-func_end15:
- .size test6, func_end15-test6
+.Lfunc_end15:
+ .size test6, .Lfunc_end15-test6
.globl test7
.type test7,@function
@@ -404,31 +404,31 @@ test7:
.local i32, i32
i32.const $3=, 0
i32.store $2=, 0($3), $3
-BB16_1:
- loop BB16_5
- block BB16_4
+.LBB16_1:
+ loop .LBB16_5
+ block .LBB16_4
i32.const $push0=, 1
i32.store $3=, 0($2), $pop0
i32.and $push1=, $0, $3
- br_if $pop1, BB16_4
+ br_if $pop1, .LBB16_4
i32.const $push2=, 2
i32.store $discard=, 0($2), $pop2
i32.and $push3=, $1, $3
- br_if $pop3, BB16_1
+ br_if $pop3, .LBB16_1
i32.const $push4=, 4
i32.store $discard=, 0($2), $pop4
unreachable
-BB16_4:
+.LBB16_4:
i32.const $push5=, 3
i32.store $discard=, 0($2), $pop5
i32.and $push6=, $1, $3
- br_if $pop6, BB16_1
-BB16_5:
+ br_if $pop6, .LBB16_1
+.LBB16_5:
i32.const $push7=, 5
i32.store $discard=, 0($2), $pop7
unreachable
-func_end16:
- .size test7, func_end16-test7
+.Lfunc_end16:
+ .size test7, .Lfunc_end16-test7
.globl test8
.type test8,@function
@@ -436,22 +436,22 @@ test8:
.result i32
.local i32
i32.const $0=, 0
-BB17_1:
- loop BB17_4
- block BB17_3
+.LBB17_1:
+ loop .LBB17_4
+ block .LBB17_3
i32.const $push0=, 0
i32.eq $push1=, $0, $pop0
- br_if $pop1, BB17_3
+ br_if $pop1, .LBB17_3
i32.const $push2=, 0
i32.eq $push3=, $0, $pop2
- br_if $pop3, BB17_1
-BB17_3:
- loop BB17_4
- br_if $0, BB17_3
- br BB17_1
-BB17_4:
-func_end17:
- .size test8, func_end17-test8
+ br_if $pop3, .LBB17_1
+.LBB17_3:
+ loop .LBB17_4
+ br_if $0, .LBB17_3
+ br .LBB17_1
+.LBB17_4:
+.Lfunc_end17:
+ .size test8, .Lfunc_end17-test8
.globl test9
.type test9,@function
@@ -459,79 +459,79 @@ test9:
.local i32, i32
i32.const $1=, 0
i32.store $0=, 0($1), $1
-BB18_1:
- loop BB18_5
+.LBB18_1:
+ loop .LBB18_5
i32.const $push0=, 1
i32.store $1=, 0($0), $pop0
i32.call $push1=, a
i32.and $push2=, $pop1, $1
i32.const $push13=, 0
i32.eq $push14=, $pop2, $pop13
- br_if $pop14, BB18_5
-BB18_2:
- loop BB18_5
- block BB18_4
+ br_if $pop14, .LBB18_5
+.LBB18_2:
+ loop .LBB18_5
+ block .LBB18_4
i32.const $push4=, 2
i32.store $discard=, 0($0), $pop4
i32.call $push5=, a
i32.and $push6=, $pop5, $1
i32.const $push15=, 0
i32.eq $push16=, $pop6, $pop15
- br_if $pop16, BB18_4
+ br_if $pop16, .LBB18_4
i32.const $push10=, 3
i32.store $discard=, 0($0), $pop10
i32.call $push11=, a
i32.and $push12=, $pop11, $1
- br_if $pop12, BB18_2
- br BB18_1
-BB18_4:
+ br_if $pop12, .LBB18_2
+ br .LBB18_1
+.LBB18_4:
i32.const $push7=, 4
i32.store $discard=, 0($0), $pop7
i32.call $push8=, a
i32.and $push9=, $pop8, $1
- br_if $pop9, BB18_2
- br BB18_1
-BB18_5:
+ br_if $pop9, .LBB18_2
+ br .LBB18_1
+.LBB18_5:
i32.const $push3=, 5
i32.store $discard=, 0($0), $pop3
return
-func_end18:
- .size test9, func_end18-test9
+.Lfunc_end18:
+ .size test9, .Lfunc_end18-test9
.globl test10
.type test10,@function
test10:
.local i32, i32, i32, i32, i32
i32.const $0=, 2
-BB19_1:
- loop BB19_7
+.LBB19_1:
+ loop .LBB19_7
copy_local $4=, $1
copy_local $3=, $0
i32.const $1=, 0
i32.const $0=, 3
i32.const $2=, 4
- br_if $4, BB19_1
-BB19_2:
- block BB19_6
- loop BB19_5
+ br_if $4, .LBB19_1
+.LBB19_2:
+ block .LBB19_6
+ loop .LBB19_5
copy_local $4=, $3
copy_local $3=, $2
-BB19_3:
- loop BB19_5
+.LBB19_3:
+ loop .LBB19_5
copy_local $2=, $4
i32.const $push0=, 4
i32.gt_u $push1=, $2, $pop0
- br_if $pop1, BB19_1
+ br_if $pop1, .LBB19_1
copy_local $4=, $3
- tableswitch $2, BB19_3, BB19_3, BB19_5, BB19_1, BB19_2, BB19_6
-BB19_5:
+ tableswitch $2, .LBB19_3, .LBB19_3, .LBB19_5, .LBB19_1, .LBB19_2, .LBB19_6
+.LBB19_5:
return
-BB19_6:
+.LBB19_6:
i32.const $1=, 1
- br BB19_1
-BB19_7:
-func_end19:
- .size test10, func_end19-test10
+ br .LBB19_1
+.LBB19_7:
+.Lfunc_end19:
+ .size test10, .Lfunc_end19-test10
.globl test11
.type test11,@function
@@ -539,110 +539,110 @@ test11:
.local i32
i32.const $0=, 0
i32.store $discard=, 0($0), $0
- block BB20_8
- block BB20_7
- block BB20_6
- block BB20_4
- br_if $0, BB20_4
- block BB20_3
+ block .LBB20_8
+ block .LBB20_7
+ block .LBB20_6
+ block .LBB20_4
+ br_if $0, .LBB20_4
+ block .LBB20_3
i32.const $push4=, 1
i32.store $discard=, 0($0), $pop4
- br_if $0, BB20_3
+ br_if $0, .LBB20_3
i32.const $push5=, 2
i32.store $discard=, 0($0), $pop5
- br_if $0, BB20_6
-BB20_3:
+ br_if $0, .LBB20_6
+.LBB20_3:
i32.const $push7=, 3
i32.store $discard=, 0($0), $pop7
return
-BB20_4:
+.LBB20_4:
i32.const $push0=, 4
i32.store $discard=, 0($0), $pop0
- br_if $0, BB20_8
+ br_if $0, .LBB20_8
i32.const $push1=, 5
i32.store $discard=, 0($0), $pop1
i32.const $push8=, 0
i32.eq $push9=, $0, $pop8
- br_if $pop9, BB20_7
-BB20_6:
+ br_if $pop9, .LBB20_7
+.LBB20_6:
i32.const $push6=, 7
i32.store $discard=, 0($0), $pop6
return
-BB20_7:
+.LBB20_7:
i32.const $push2=, 6
i32.store $discard=, 0($0), $pop2
return
-BB20_8:
+.LBB20_8:
i32.const $push3=, 8
i32.store $discard=, 0($0), $pop3
return
-func_end20:
- .size test11, func_end20-test11
+.Lfunc_end20:
+ .size test11, .Lfunc_end20-test11
.globl test12
.type test12,@function
test12:
.param i32
.local i32
-BB21_1:
- loop BB21_8
+.LBB21_1:
+ loop .LBB21_8
i32.load8_u $1=, 0($0)
- block BB21_7
- block BB21_6
- block BB21_4
+ block .LBB21_7
+ block .LBB21_6
+ block .LBB21_4
i32.const $push0=, 103
i32.gt_s $push1=, $1, $pop0
- br_if $pop1, BB21_4
+ br_if $pop1, .LBB21_4
i32.const $push6=, 42
i32.eq $push7=, $1, $pop6
- br_if $pop7, BB21_7
+ br_if $pop7, .LBB21_7
i32.const $push8=, 76
i32.eq $push9=, $1, $pop8
- br_if $pop9, BB21_7
- br BB21_6
-BB21_4:
+ br_if $pop9, .LBB21_7
+ br .LBB21_6
+.LBB21_4:
i32.const $push2=, 108
i32.eq $push3=, $1, $pop2
- br_if $pop3, BB21_7
+ br_if $pop3, .LBB21_7
i32.const $push4=, 104
i32.eq $push5=, $1, $pop4
- br_if $pop5, BB21_7
-BB21_6:
+ br_if $pop5, .LBB21_7
+.LBB21_6:
return
-BB21_7:
+.LBB21_7:
i32.const $push10=, 1
i32.add $0=, $0, $pop10
- br BB21_1
-BB21_8:
-func_end21:
- .size test12, func_end21-test12
+ br .LBB21_1
+.LBB21_8:
+.Lfunc_end21:
+ .size test12, .Lfunc_end21-test12
.globl test13
.type test13,@function
test13:
.local i32
- block BB22_2
+ block .LBB22_2
i32.const $push0=, 0
i32.const $push3=, 0
i32.eq $push4=, $pop0, $pop3
- br_if $pop4, BB22_2
+ br_if $pop4, .LBB22_2
return
-BB22_2:
+.LBB22_2:
i32.const $0=, 0
- block BB22_4
- br_if $0, BB22_4
+ block .LBB22_4
+ br_if $0, .LBB22_4
i32.const $0=, 0
-BB22_4:
- block BB22_5
+.LBB22_4:
+ block .LBB22_5
i32.const $push1=, 1
i32.and $push2=, $0, $pop1
i32.const $push5=, 0
i32.eq $push6=, $pop2, $pop5
- br_if $pop6, BB22_5
-BB22_5:
+ br_if $pop6, .LBB22_5
+.LBB22_5:
unreachable
-func_end22:
- .size test13, func_end22-test13
+.Lfunc_end22:
+ .size test13, .Lfunc_end22-test13
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/cfg-stackify.wast b/test/llvm_autogenerated/cfg-stackify.wast
index 5b2e1826d..984eecc4c 100644
--- a/test/llvm_autogenerated/cfg-stackify.wast
+++ b/test/llvm_autogenerated/cfg-stackify.wast
@@ -33,7 +33,7 @@
(set_local $$1
(i32.const 0)
)
- (loop $BB0_3 $BB0_1
+ (loop $.LBB0_3 $.LBB0_1
(block
(set_local $$1
(i32.add
@@ -46,10 +46,10 @@
(get_local $$1)
(get_local $$0)
)
- $BB0_3
+ $.LBB0_3
)
(call_import $something)
- (br $BB0_1)
+ (br $.LBB0_1)
)
)
(br $fake_return_waka123)
@@ -63,7 +63,7 @@
(set_local $$1
(i32.const 0)
)
- (loop $BB1_3 $BB1_1
+ (loop $.LBB1_3 $.LBB1_1
(block
(set_local $$1
(i32.add
@@ -76,10 +76,10 @@
(get_local $$1)
(get_local $$0)
)
- $BB1_3
+ $.LBB1_3
)
(call_import $something)
- (br $BB1_1)
+ (br $.LBB1_1)
)
)
(br $fake_return_waka123)
@@ -89,15 +89,15 @@
(func $test2 (param $$0 i32) (param $$1 i32)
(block $fake_return_waka123
(block
- (block $BB2_2
+ (block $.LBB2_2
(br_if
(i32.lt_s
(get_local $$1)
(i32.const 1)
)
- $BB2_2
+ $.LBB2_2
)
- (loop $BB2_1
+ (loop $.LBB2_1
(block
(set_local $$1
(i32.add
@@ -122,7 +122,7 @@
)
(br_if
(get_local $$1)
- $BB2_1
+ $.LBB2_1
)
)
)
@@ -135,8 +135,8 @@
(local $$3 i32)
(block $fake_return_waka123
(block
- (block $BB3_5
- (block $BB3_2
+ (block $.LBB3_5
+ (block $.LBB3_2
(set_local $$3
(i32.store align=4
(get_local $$2)
@@ -145,28 +145,28 @@
)
(br_if
(get_local $$0)
- $BB3_2
+ $.LBB3_2
)
(i32.store align=4
(get_local $$2)
(i32.const 1)
)
- (br $BB3_5)
+ (br $.LBB3_5)
)
- (block $BB3_4
+ (block $.LBB3_4
(i32.store align=4
(get_local $$2)
(i32.const 2)
)
(br_if
(get_local $$1)
- $BB3_4
+ $.LBB3_4
)
(i32.store align=4
(get_local $$2)
(i32.const 3)
)
- (br $BB3_5)
+ (br $.LBB3_5)
)
(i32.store align=4
(get_local $$2)
@@ -187,7 +187,7 @@
(local $$2 i32)
(block $fake_return_waka123
(block
- (block $BB4_2
+ (block $.LBB4_2
(set_local $$2
(i32.store align=4
(get_local $$0)
@@ -196,7 +196,7 @@
)
(br_if
(get_local $$1)
- $BB4_2
+ $.LBB4_2
)
(i32.store align=4
(get_local $$0)
@@ -217,8 +217,8 @@
(local $$2 i32)
(block $fake_return_waka123
(block
- (block $BB5_3
- (block $BB5_2
+ (block $.LBB5_3
+ (block $.LBB5_2
(set_local $$2
(i32.store align=4
(get_local $$0)
@@ -227,13 +227,13 @@
)
(br_if
(get_local $$1)
- $BB5_2
+ $.LBB5_2
)
(i32.store align=4
(get_local $$0)
(i32.const 1)
)
- (br $BB5_3)
+ (br $.LBB5_3)
)
(i32.store align=4
(get_local $$0)
@@ -267,13 +267,13 @@
(get_local $$0)
(i32.const 0)
)
- (loop $BB7_2 $BB7_1
+ (loop $.LBB7_2 $.LBB7_1
(block
(i32.store align=4
(get_local $$0)
(i32.const 1)
)
- (br $BB7_1)
+ (br $.LBB7_1)
)
)
)
@@ -287,7 +287,7 @@
(i32.const 0)
)
)
- (loop $BB8_2 $BB8_1
+ (loop $.LBB8_2 $.LBB8_1
(block
(i32.store align=4
(get_local $$0)
@@ -298,7 +298,7 @@
(get_local $$1)
(i32.const 0)
)
- $BB8_1
+ $.LBB8_1
)
)
)
@@ -316,7 +316,7 @@
(local $$3 i32)
(block $fake_return_waka123
(block
- (block $BB9_4
+ (block $.LBB9_4
(set_local $$3
(i32.store align=4
(get_local $$2)
@@ -325,16 +325,16 @@
)
(br_if
(get_local $$0)
- $BB9_4
+ $.LBB9_4
)
- (block $BB9_3
+ (block $.LBB9_3
(i32.store align=4
(get_local $$2)
(i32.const 2)
)
(br_if
(get_local $$1)
- $BB9_3
+ $.LBB9_3
)
(i32.store align=4
(get_local $$2)
@@ -360,8 +360,8 @@
(local $$3 i32)
(block $fake_return_waka123
(block
- (block $BB10_4
- (block $BB10_2
+ (block $.LBB10_4
+ (block $.LBB10_2
(set_local $$3
(i32.store align=4
(get_local $$2)
@@ -370,13 +370,13 @@
)
(br_if
(get_local $$0)
- $BB10_2
+ $.LBB10_2
)
(i32.store align=4
(get_local $$2)
(i32.const 1)
)
- (br $BB10_4)
+ (br $.LBB10_4)
)
(i32.store align=4
(get_local $$2)
@@ -384,7 +384,7 @@
)
(br_if
(get_local $$1)
- $BB10_4
+ $.LBB10_4
)
(i32.store align=4
(get_local $$2)
@@ -402,38 +402,38 @@
)
)
(func $doublediamond_in_a_loop (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (loop $BB11_7 $BB11_1
+ (loop $.LBB11_7 $.LBB11_1
(block
- (block $BB11_6
- (block $BB11_3
+ (block $.LBB11_6
+ (block $.LBB11_3
(i32.store align=4
(get_local $$2)
(i32.const 0)
)
(br_if
(get_local $$0)
- $BB11_3
+ $.LBB11_3
)
(i32.store align=4
(get_local $$2)
(i32.const 1)
)
- (br $BB11_6)
+ (br $.LBB11_6)
)
- (block $BB11_5
+ (block $.LBB11_5
(i32.store align=4
(get_local $$2)
(i32.const 2)
)
(br_if
(get_local $$1)
- $BB11_5
+ $.LBB11_5
)
(i32.store align=4
(get_local $$2)
(i32.const 3)
)
- (br $BB11_6)
+ (br $.LBB11_6)
)
(i32.store align=4
(get_local $$2)
@@ -444,37 +444,37 @@
(get_local $$2)
(i32.const 5)
)
- (br $BB11_1)
+ (br $.LBB11_1)
)
)
)
(func $test3 (param $$0 i32)
(block $fake_return_waka123
(block
- (block $BB12_5
+ (block $.LBB12_5
(br_if
(i32.const 0)
- $BB12_5
+ $.LBB12_5
)
- (loop $BB12_4 $BB12_1
+ (loop $.LBB12_4 $.LBB12_1
(block
(br_if
(get_local $$0)
- $BB12_4
+ $.LBB12_4
)
- (loop $BB12_3 $BB12_2
+ (loop $.LBB12_3 $.LBB12_2
(block
(br_if
(i32.ne
(get_local $$0)
(get_local $$0)
)
- $BB12_2
+ $.LBB12_2
)
)
)
(call_import $bar)
- (br $BB12_1)
+ (br $.LBB12_1)
)
)
(unreachable)
@@ -486,30 +486,30 @@
(func $test4 (param $$0 i32)
(block $fake_return_waka123
(block
- (block $BB13_8
- (block $BB13_7
- (block $BB13_4
+ (block $.LBB13_8
+ (block $.LBB13_7
+ (block $.LBB13_4
(br_if
(i32.gt_s
(get_local $$0)
(i32.const 3)
)
- $BB13_4
+ $.LBB13_4
)
- (block $BB13_3
+ (block $.LBB13_3
(br_if
(i32.eq
(get_local $$0)
(i32.const 0)
)
- $BB13_3
+ $.LBB13_3
)
(br_if
(i32.ne
(get_local $$0)
(i32.const 2)
)
- $BB13_7
+ $.LBB13_7
)
)
(br $fake_return_waka123)
@@ -519,14 +519,14 @@
(get_local $$0)
(i32.const 4)
)
- $BB13_8
+ $.LBB13_8
)
(br_if
(i32.ne
(get_local $$0)
(i32.const 622)
)
- $BB13_7
+ $.LBB13_7
)
(br $fake_return_waka123)
)
@@ -541,8 +541,8 @@
(local $$3 i32)
(block $fake_return_waka123
(block
- (block $BB14_4
- (loop $BB14_3 $BB14_1
+ (block $.LBB14_4
+ (loop $.LBB14_3 $.LBB14_1
(block
(set_local $$2
(i32.const 0)
@@ -564,7 +564,7 @@
)
(i32.const 0)
)
- $BB14_4
+ $.LBB14_4
)
(br_if
(i32.and
@@ -574,7 +574,7 @@
(get_local $$2)
)
)
- $BB14_1
+ $.LBB14_1
)
)
)
@@ -598,9 +598,9 @@
(local $$4 i32)
(block $fake_return_waka123
(block
- (block $BB15_6
- (block $BB15_5
- (loop $BB15_4 $BB15_1
+ (block $.LBB15_6
+ (block $.LBB15_5
+ (loop $.LBB15_4 $.LBB15_1
(block
(set_local $$2
(i32.const 0)
@@ -620,7 +620,7 @@
)
(i32.const 0)
)
- $BB15_6
+ $.LBB15_6
)
(i32.store align=4
(get_local $$2)
@@ -637,7 +637,7 @@
(get_local $$4)
(i32.const 0)
)
- $BB15_5
+ $.LBB15_5
)
(i32.store align=4
(get_local $$2)
@@ -645,7 +645,7 @@
)
(br_if
(get_local $$4)
- $BB15_1
+ $.LBB15_1
)
)
)
@@ -680,9 +680,9 @@
(get_local $$3)
)
)
- (loop $BB16_5 $BB16_1
+ (loop $.LBB16_5 $.LBB16_1
(block
- (block $BB16_4
+ (block $.LBB16_4
(set_local $$3
(i32.store align=4
(get_local $$2)
@@ -694,7 +694,7 @@
(get_local $$0)
(get_local $$3)
)
- $BB16_4
+ $.LBB16_4
)
(i32.store align=4
(get_local $$2)
@@ -705,7 +705,7 @@
(get_local $$1)
(get_local $$3)
)
- $BB16_1
+ $.LBB16_1
)
(i32.store align=4
(get_local $$2)
@@ -722,7 +722,7 @@
(get_local $$1)
(get_local $$3)
)
- $BB16_1
+ $.LBB16_1
)
)
)
@@ -737,31 +737,31 @@
(set_local $$0
(i32.const 0)
)
- (loop $BB17_4 $BB17_1
+ (loop $.LBB17_4 $.LBB17_1
(block
- (block $BB17_3
+ (block $.LBB17_3
(br_if
(i32.eq
(get_local $$0)
(i32.const 0)
)
- $BB17_3
+ $.LBB17_3
)
(br_if
(i32.eq
(get_local $$0)
(i32.const 0)
)
- $BB17_1
+ $.LBB17_1
)
)
- (loop $BB17_4 $BB17_3
+ (loop $.LBB17_4 $.LBB17_3
(block
(br_if
(get_local $$0)
- $BB17_3
+ $.LBB17_3
)
- (br $BB17_1)
+ (br $.LBB17_1)
)
)
)
@@ -781,7 +781,7 @@
(get_local $$1)
)
)
- (loop $BB18_5 $BB18_1
+ (loop $.LBB18_5 $.LBB18_1
(block
(set_local $$1
(i32.store align=4
@@ -797,11 +797,11 @@
)
(i32.const 0)
)
- $BB18_5
+ $.LBB18_5
)
- (loop $BB18_5 $BB18_2
+ (loop $.LBB18_5 $.LBB18_2
(block
- (block $BB18_4
+ (block $.LBB18_4
(i32.store align=4
(get_local $$0)
(i32.const 2)
@@ -814,7 +814,7 @@
)
(i32.const 0)
)
- $BB18_4
+ $.LBB18_4
)
(i32.store align=4
(get_local $$0)
@@ -825,9 +825,9 @@
(call_import $a)
(get_local $$1)
)
- $BB18_2
+ $.LBB18_2
)
- (br $BB18_1)
+ (br $.LBB18_1)
)
(i32.store align=4
(get_local $$0)
@@ -838,9 +838,9 @@
(call_import $a)
(get_local $$1)
)
- $BB18_2
+ $.LBB18_2
)
- (br $BB18_1)
+ (br $.LBB18_1)
)
)
)
@@ -864,7 +864,7 @@
(set_local $$0
(i32.const 2)
)
- (loop $BB19_7 $BB19_1
+ (loop $.LBB19_7 $.LBB19_1
(block
(set_local $$4
(get_local $$1)
@@ -883,10 +883,10 @@
)
(br_if
(get_local $$4)
- $BB19_1
+ $.LBB19_1
)
- (block $BB19_6
- (loop $BB19_5 $BB19_2
+ (block $.LBB19_6
+ (loop $.LBB19_5 $.LBB19_2
(block
(set_local $$4
(get_local $$3)
@@ -894,7 +894,7 @@
(set_local $$3
(get_local $$2)
)
- (loop $BB19_5 $BB19_3
+ (loop $.LBB19_5 $.LBB19_3
(block
(set_local $$2
(get_local $$4)
@@ -904,14 +904,14 @@
(get_local $$2)
(i32.const 4)
)
- $BB19_1
+ $.LBB19_1
)
(set_local $$4
(get_local $$3)
)
(tableswitch
(get_local $$2)
- (table (br $BB19_3) (br $BB19_5) (br $BB19_1) (br $BB19_2) (br $BB19_6)) (br $BB19_3)
+ (table (br $.LBB19_3) (br $.LBB19_5) (br $.LBB19_1) (br $.LBB19_2) (br $.LBB19_6)) (br $.LBB19_3)
)
)
)
@@ -922,7 +922,7 @@
(set_local $$1
(i32.const 1)
)
- (br $BB19_1)
+ (br $.LBB19_1)
)
)
)
@@ -939,22 +939,22 @@
(get_local $$0)
(get_local $$0)
)
- (block $BB20_8
- (block $BB20_7
- (block $BB20_6
- (block $BB20_4
+ (block $.LBB20_8
+ (block $.LBB20_7
+ (block $.LBB20_6
+ (block $.LBB20_4
(br_if
(get_local $$0)
- $BB20_4
+ $.LBB20_4
)
- (block $BB20_3
+ (block $.LBB20_3
(i32.store align=4
(get_local $$0)
(i32.const 1)
)
(br_if
(get_local $$0)
- $BB20_3
+ $.LBB20_3
)
(i32.store align=4
(get_local $$0)
@@ -962,7 +962,7 @@
)
(br_if
(get_local $$0)
- $BB20_6
+ $.LBB20_6
)
)
(i32.store align=4
@@ -977,7 +977,7 @@
)
(br_if
(get_local $$0)
- $BB20_8
+ $.LBB20_8
)
(i32.store align=4
(get_local $$0)
@@ -988,7 +988,7 @@
(get_local $$0)
(i32.const 0)
)
- $BB20_7
+ $.LBB20_7
)
)
(i32.store align=4
@@ -1015,52 +1015,52 @@
(local $$1 i32)
(block $fake_return_waka123
(block
- (loop $BB21_8 $BB21_1
+ (loop $.LBB21_8 $.LBB21_1
(block
(set_local $$1
(i32.load8_u align=1
(get_local $$0)
)
)
- (block $BB21_7
- (block $BB21_6
- (block $BB21_4
+ (block $.LBB21_7
+ (block $.LBB21_6
+ (block $.LBB21_4
(br_if
(i32.gt_s
(get_local $$1)
(i32.const 103)
)
- $BB21_4
+ $.LBB21_4
)
(br_if
(i32.eq
(get_local $$1)
(i32.const 42)
)
- $BB21_7
+ $.LBB21_7
)
(br_if
(i32.eq
(get_local $$1)
(i32.const 76)
)
- $BB21_7
+ $.LBB21_7
)
- (br $BB21_6)
+ (br $.LBB21_6)
)
(br_if
(i32.eq
(get_local $$1)
(i32.const 108)
)
- $BB21_7
+ $.LBB21_7
)
(br_if
(i32.eq
(get_local $$1)
(i32.const 104)
)
- $BB21_7
+ $.LBB21_7
)
)
(br $fake_return_waka123)
@@ -1071,7 +1071,7 @@
(i32.const 1)
)
)
- (br $BB21_1)
+ (br $.LBB21_1)
)
)
)
@@ -1081,29 +1081,29 @@
(local $$0 i32)
(block $fake_return_waka123
(block
- (block $BB22_2
+ (block $.LBB22_2
(br_if
(i32.eq
(i32.const 0)
(i32.const 0)
)
- $BB22_2
+ $.LBB22_2
)
(br $fake_return_waka123)
)
(set_local $$0
(i32.const 0)
)
- (block $BB22_4
+ (block $.LBB22_4
(br_if
(get_local $$0)
- $BB22_4
+ $.LBB22_4
)
(set_local $$0
(i32.const 0)
)
)
- (block $BB22_5
+ (block $.LBB22_5
(br_if
(i32.eq
(i32.and
@@ -1112,7 +1112,7 @@
)
(i32.const 0)
)
- $BB22_5
+ $.LBB22_5
)
)
(unreachable)
diff --git a/test/llvm_autogenerated/comparisons_f32.s b/test/llvm_autogenerated/comparisons_f32.s
index e1b8cf1a1..a527faa3d 100644
--- a/test/llvm_autogenerated/comparisons_f32.s
+++ b/test/llvm_autogenerated/comparisons_f32.s
@@ -9,8 +9,8 @@ ord_f32:
f32.eq $push0=, $1, $1
i32.and $push2=, $pop1, $pop0
return $pop2
-func_end0:
- .size ord_f32, func_end0-ord_f32
+.Lfunc_end0:
+ .size ord_f32, .Lfunc_end0-ord_f32
.globl uno_f32
.type uno_f32,@function
@@ -21,8 +21,8 @@ uno_f32:
f32.ne $push0=, $1, $1
i32.or $push2=, $pop1, $pop0
return $pop2
-func_end1:
- .size uno_f32, func_end1-uno_f32
+.Lfunc_end1:
+ .size uno_f32, .Lfunc_end1-uno_f32
.globl oeq_f32
.type oeq_f32,@function
@@ -31,8 +31,8 @@ oeq_f32:
.result i32
f32.eq $push0=, $0, $1
return $pop0
-func_end2:
- .size oeq_f32, func_end2-oeq_f32
+.Lfunc_end2:
+ .size oeq_f32, .Lfunc_end2-oeq_f32
.globl une_f32
.type une_f32,@function
@@ -41,8 +41,8 @@ une_f32:
.result i32
f32.ne $push0=, $0, $1
return $pop0
-func_end3:
- .size une_f32, func_end3-une_f32
+.Lfunc_end3:
+ .size une_f32, .Lfunc_end3-une_f32
.globl olt_f32
.type olt_f32,@function
@@ -51,8 +51,8 @@ olt_f32:
.result i32
f32.lt $push0=, $0, $1
return $pop0
-func_end4:
- .size olt_f32, func_end4-olt_f32
+.Lfunc_end4:
+ .size olt_f32, .Lfunc_end4-olt_f32
.globl ole_f32
.type ole_f32,@function
@@ -61,8 +61,8 @@ ole_f32:
.result i32
f32.le $push0=, $0, $1
return $pop0
-func_end5:
- .size ole_f32, func_end5-ole_f32
+.Lfunc_end5:
+ .size ole_f32, .Lfunc_end5-ole_f32
.globl ogt_f32
.type ogt_f32,@function
@@ -71,8 +71,8 @@ ogt_f32:
.result i32
f32.gt $push0=, $0, $1
return $pop0
-func_end6:
- .size ogt_f32, func_end6-ogt_f32
+.Lfunc_end6:
+ .size ogt_f32, .Lfunc_end6-ogt_f32
.globl oge_f32
.type oge_f32,@function
@@ -81,8 +81,8 @@ oge_f32:
.result i32
f32.ge $push0=, $0, $1
return $pop0
-func_end7:
- .size oge_f32, func_end7-oge_f32
+.Lfunc_end7:
+ .size oge_f32, .Lfunc_end7-oge_f32
.globl ueq_f32
.type ueq_f32,@function
@@ -95,8 +95,8 @@ ueq_f32:
i32.or $push3=, $pop2, $pop1
i32.or $push4=, $pop0, $pop3
return $pop4
-func_end8:
- .size ueq_f32, func_end8-ueq_f32
+.Lfunc_end8:
+ .size ueq_f32, .Lfunc_end8-ueq_f32
.globl one_f32
.type one_f32,@function
@@ -109,8 +109,8 @@ one_f32:
i32.and $push3=, $pop2, $pop1
i32.and $push4=, $pop0, $pop3
return $pop4
-func_end9:
- .size one_f32, func_end9-one_f32
+.Lfunc_end9:
+ .size one_f32, .Lfunc_end9-one_f32
.globl ult_f32
.type ult_f32,@function
@@ -123,8 +123,8 @@ ult_f32:
i32.or $push3=, $pop2, $pop1
i32.or $push4=, $pop0, $pop3
return $pop4
-func_end10:
- .size ult_f32, func_end10-ult_f32
+.Lfunc_end10:
+ .size ult_f32, .Lfunc_end10-ult_f32
.globl ule_f32
.type ule_f32,@function
@@ -137,8 +137,8 @@ ule_f32:
i32.or $push3=, $pop2, $pop1
i32.or $push4=, $pop0, $pop3
return $pop4
-func_end11:
- .size ule_f32, func_end11-ule_f32
+.Lfunc_end11:
+ .size ule_f32, .Lfunc_end11-ule_f32
.globl ugt_f32
.type ugt_f32,@function
@@ -151,8 +151,8 @@ ugt_f32:
i32.or $push3=, $pop2, $pop1
i32.or $push4=, $pop0, $pop3
return $pop4
-func_end12:
- .size ugt_f32, func_end12-ugt_f32
+.Lfunc_end12:
+ .size ugt_f32, .Lfunc_end12-ugt_f32
.globl uge_f32
.type uge_f32,@function
@@ -165,8 +165,8 @@ uge_f32:
i32.or $push3=, $pop2, $pop1
i32.or $push4=, $pop0, $pop3
return $pop4
-func_end13:
- .size uge_f32, func_end13-uge_f32
+.Lfunc_end13:
+ .size uge_f32, .Lfunc_end13-uge_f32
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/comparisons_f64.s b/test/llvm_autogenerated/comparisons_f64.s
index 16aa8a399..ab72bd46e 100644
--- a/test/llvm_autogenerated/comparisons_f64.s
+++ b/test/llvm_autogenerated/comparisons_f64.s
@@ -9,8 +9,8 @@ ord_f64:
f64.eq $push0=, $1, $1
i32.and $push2=, $pop1, $pop0
return $pop2
-func_end0:
- .size ord_f64, func_end0-ord_f64
+.Lfunc_end0:
+ .size ord_f64, .Lfunc_end0-ord_f64
.globl uno_f64
.type uno_f64,@function
@@ -21,8 +21,8 @@ uno_f64:
f64.ne $push0=, $1, $1
i32.or $push2=, $pop1, $pop0
return $pop2
-func_end1:
- .size uno_f64, func_end1-uno_f64
+.Lfunc_end1:
+ .size uno_f64, .Lfunc_end1-uno_f64
.globl oeq_f64
.type oeq_f64,@function
@@ -31,8 +31,8 @@ oeq_f64:
.result i32
f64.eq $push0=, $0, $1
return $pop0
-func_end2:
- .size oeq_f64, func_end2-oeq_f64
+.Lfunc_end2:
+ .size oeq_f64, .Lfunc_end2-oeq_f64
.globl une_f64
.type une_f64,@function
@@ -41,8 +41,8 @@ une_f64:
.result i32
f64.ne $push0=, $0, $1
return $pop0
-func_end3:
- .size une_f64, func_end3-une_f64
+.Lfunc_end3:
+ .size une_f64, .Lfunc_end3-une_f64
.globl olt_f64
.type olt_f64,@function
@@ -51,8 +51,8 @@ olt_f64:
.result i32
f64.lt $push0=, $0, $1
return $pop0
-func_end4:
- .size olt_f64, func_end4-olt_f64
+.Lfunc_end4:
+ .size olt_f64, .Lfunc_end4-olt_f64
.globl ole_f64
.type ole_f64,@function
@@ -61,8 +61,8 @@ ole_f64:
.result i32
f64.le $push0=, $0, $1
return $pop0
-func_end5:
- .size ole_f64, func_end5-ole_f64
+.Lfunc_end5:
+ .size ole_f64, .Lfunc_end5-ole_f64
.globl ogt_f64
.type ogt_f64,@function
@@ -71,8 +71,8 @@ ogt_f64:
.result i32
f64.gt $push0=, $0, $1
return $pop0
-func_end6:
- .size ogt_f64, func_end6-ogt_f64
+.Lfunc_end6:
+ .size ogt_f64, .Lfunc_end6-ogt_f64
.globl oge_f64
.type oge_f64,@function
@@ -81,8 +81,8 @@ oge_f64:
.result i32
f64.ge $push0=, $0, $1
return $pop0
-func_end7:
- .size oge_f64, func_end7-oge_f64
+.Lfunc_end7:
+ .size oge_f64, .Lfunc_end7-oge_f64
.globl ueq_f64
.type ueq_f64,@function
@@ -95,8 +95,8 @@ ueq_f64:
i32.or $push3=, $pop2, $pop1
i32.or $push4=, $pop0, $pop3
return $pop4
-func_end8:
- .size ueq_f64, func_end8-ueq_f64
+.Lfunc_end8:
+ .size ueq_f64, .Lfunc_end8-ueq_f64
.globl one_f64
.type one_f64,@function
@@ -109,8 +109,8 @@ one_f64:
i32.and $push3=, $pop2, $pop1
i32.and $push4=, $pop0, $pop3
return $pop4
-func_end9:
- .size one_f64, func_end9-one_f64
+.Lfunc_end9:
+ .size one_f64, .Lfunc_end9-one_f64
.globl ult_f64
.type ult_f64,@function
@@ -123,8 +123,8 @@ ult_f64:
i32.or $push3=, $pop2, $pop1
i32.or $push4=, $pop0, $pop3
return $pop4
-func_end10:
- .size ult_f64, func_end10-ult_f64
+.Lfunc_end10:
+ .size ult_f64, .Lfunc_end10-ult_f64
.globl ule_f64
.type ule_f64,@function
@@ -137,8 +137,8 @@ ule_f64:
i32.or $push3=, $pop2, $pop1
i32.or $push4=, $pop0, $pop3
return $pop4
-func_end11:
- .size ule_f64, func_end11-ule_f64
+.Lfunc_end11:
+ .size ule_f64, .Lfunc_end11-ule_f64
.globl ugt_f64
.type ugt_f64,@function
@@ -151,8 +151,8 @@ ugt_f64:
i32.or $push3=, $pop2, $pop1
i32.or $push4=, $pop0, $pop3
return $pop4
-func_end12:
- .size ugt_f64, func_end12-ugt_f64
+.Lfunc_end12:
+ .size ugt_f64, .Lfunc_end12-ugt_f64
.globl uge_f64
.type uge_f64,@function
@@ -165,8 +165,8 @@ uge_f64:
i32.or $push3=, $pop2, $pop1
i32.or $push4=, $pop0, $pop3
return $pop4
-func_end13:
- .size uge_f64, func_end13-uge_f64
+.Lfunc_end13:
+ .size uge_f64, .Lfunc_end13-uge_f64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/comparisons_i32.s b/test/llvm_autogenerated/comparisons_i32.s
index 538b4cfd6..a38bd77bd 100644
--- a/test/llvm_autogenerated/comparisons_i32.s
+++ b/test/llvm_autogenerated/comparisons_i32.s
@@ -7,8 +7,8 @@ eq_i32:
.result i32
i32.eq $push0=, $0, $1
return $pop0
-func_end0:
- .size eq_i32, func_end0-eq_i32
+.Lfunc_end0:
+ .size eq_i32, .Lfunc_end0-eq_i32
.globl ne_i32
.type ne_i32,@function
@@ -17,8 +17,8 @@ ne_i32:
.result i32
i32.ne $push0=, $0, $1
return $pop0
-func_end1:
- .size ne_i32, func_end1-ne_i32
+.Lfunc_end1:
+ .size ne_i32, .Lfunc_end1-ne_i32
.globl slt_i32
.type slt_i32,@function
@@ -27,8 +27,8 @@ slt_i32:
.result i32
i32.lt_s $push0=, $0, $1
return $pop0
-func_end2:
- .size slt_i32, func_end2-slt_i32
+.Lfunc_end2:
+ .size slt_i32, .Lfunc_end2-slt_i32
.globl sle_i32
.type sle_i32,@function
@@ -37,8 +37,8 @@ sle_i32:
.result i32
i32.le_s $push0=, $0, $1
return $pop0
-func_end3:
- .size sle_i32, func_end3-sle_i32
+.Lfunc_end3:
+ .size sle_i32, .Lfunc_end3-sle_i32
.globl ult_i32
.type ult_i32,@function
@@ -47,8 +47,8 @@ ult_i32:
.result i32
i32.lt_u $push0=, $0, $1
return $pop0
-func_end4:
- .size ult_i32, func_end4-ult_i32
+.Lfunc_end4:
+ .size ult_i32, .Lfunc_end4-ult_i32
.globl ule_i32
.type ule_i32,@function
@@ -57,8 +57,8 @@ ule_i32:
.result i32
i32.le_u $push0=, $0, $1
return $pop0
-func_end5:
- .size ule_i32, func_end5-ule_i32
+.Lfunc_end5:
+ .size ule_i32, .Lfunc_end5-ule_i32
.globl sgt_i32
.type sgt_i32,@function
@@ -67,8 +67,8 @@ sgt_i32:
.result i32
i32.gt_s $push0=, $0, $1
return $pop0
-func_end6:
- .size sgt_i32, func_end6-sgt_i32
+.Lfunc_end6:
+ .size sgt_i32, .Lfunc_end6-sgt_i32
.globl sge_i32
.type sge_i32,@function
@@ -77,8 +77,8 @@ sge_i32:
.result i32
i32.ge_s $push0=, $0, $1
return $pop0
-func_end7:
- .size sge_i32, func_end7-sge_i32
+.Lfunc_end7:
+ .size sge_i32, .Lfunc_end7-sge_i32
.globl ugt_i32
.type ugt_i32,@function
@@ -87,8 +87,8 @@ ugt_i32:
.result i32
i32.gt_u $push0=, $0, $1
return $pop0
-func_end8:
- .size ugt_i32, func_end8-ugt_i32
+.Lfunc_end8:
+ .size ugt_i32, .Lfunc_end8-ugt_i32
.globl uge_i32
.type uge_i32,@function
@@ -97,8 +97,8 @@ uge_i32:
.result i32
i32.ge_u $push0=, $0, $1
return $pop0
-func_end9:
- .size uge_i32, func_end9-uge_i32
+.Lfunc_end9:
+ .size uge_i32, .Lfunc_end9-uge_i32
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/comparisons_i64.s b/test/llvm_autogenerated/comparisons_i64.s
index d7d0fd773..1b151c7bd 100644
--- a/test/llvm_autogenerated/comparisons_i64.s
+++ b/test/llvm_autogenerated/comparisons_i64.s
@@ -7,8 +7,8 @@ eq_i64:
.result i32
i64.eq $push0=, $0, $1
return $pop0
-func_end0:
- .size eq_i64, func_end0-eq_i64
+.Lfunc_end0:
+ .size eq_i64, .Lfunc_end0-eq_i64
.globl ne_i64
.type ne_i64,@function
@@ -17,8 +17,8 @@ ne_i64:
.result i32
i64.ne $push0=, $0, $1
return $pop0
-func_end1:
- .size ne_i64, func_end1-ne_i64
+.Lfunc_end1:
+ .size ne_i64, .Lfunc_end1-ne_i64
.globl slt_i64
.type slt_i64,@function
@@ -27,8 +27,8 @@ slt_i64:
.result i32
i64.lt_s $push0=, $0, $1
return $pop0
-func_end2:
- .size slt_i64, func_end2-slt_i64
+.Lfunc_end2:
+ .size slt_i64, .Lfunc_end2-slt_i64
.globl sle_i64
.type sle_i64,@function
@@ -37,8 +37,8 @@ sle_i64:
.result i32
i64.le_s $push0=, $0, $1
return $pop0
-func_end3:
- .size sle_i64, func_end3-sle_i64
+.Lfunc_end3:
+ .size sle_i64, .Lfunc_end3-sle_i64
.globl ult_i64
.type ult_i64,@function
@@ -47,8 +47,8 @@ ult_i64:
.result i32
i64.lt_u $push0=, $0, $1
return $pop0
-func_end4:
- .size ult_i64, func_end4-ult_i64
+.Lfunc_end4:
+ .size ult_i64, .Lfunc_end4-ult_i64
.globl ule_i64
.type ule_i64,@function
@@ -57,8 +57,8 @@ ule_i64:
.result i32
i64.le_u $push0=, $0, $1
return $pop0
-func_end5:
- .size ule_i64, func_end5-ule_i64
+.Lfunc_end5:
+ .size ule_i64, .Lfunc_end5-ule_i64
.globl sgt_i64
.type sgt_i64,@function
@@ -67,8 +67,8 @@ sgt_i64:
.result i32
i64.gt_s $push0=, $0, $1
return $pop0
-func_end6:
- .size sgt_i64, func_end6-sgt_i64
+.Lfunc_end6:
+ .size sgt_i64, .Lfunc_end6-sgt_i64
.globl sge_i64
.type sge_i64,@function
@@ -77,8 +77,8 @@ sge_i64:
.result i32
i64.ge_s $push0=, $0, $1
return $pop0
-func_end7:
- .size sge_i64, func_end7-sge_i64
+.Lfunc_end7:
+ .size sge_i64, .Lfunc_end7-sge_i64
.globl ugt_i64
.type ugt_i64,@function
@@ -87,8 +87,8 @@ ugt_i64:
.result i32
i64.gt_u $push0=, $0, $1
return $pop0
-func_end8:
- .size ugt_i64, func_end8-ugt_i64
+.Lfunc_end8:
+ .size ugt_i64, .Lfunc_end8-ugt_i64
.globl uge_i64
.type uge_i64,@function
@@ -97,8 +97,8 @@ uge_i64:
.result i32
i64.ge_u $push0=, $0, $1
return $pop0
-func_end9:
- .size uge_i64, func_end9-uge_i64
+.Lfunc_end9:
+ .size uge_i64, .Lfunc_end9-uge_i64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/conv.s b/test/llvm_autogenerated/conv.s
index de7a7fd88..9bb08c906 100644
--- a/test/llvm_autogenerated/conv.s
+++ b/test/llvm_autogenerated/conv.s
@@ -7,8 +7,8 @@ i32_wrap_i64:
.result i32
i32.wrap/i64 $push0=, $0
return $pop0
-func_end0:
- .size i32_wrap_i64, func_end0-i32_wrap_i64
+.Lfunc_end0:
+ .size i32_wrap_i64, .Lfunc_end0-i32_wrap_i64
.globl i64_extend_s_i32
.type i64_extend_s_i32,@function
@@ -17,8 +17,8 @@ i64_extend_s_i32:
.result i64
i64.extend_s/i32 $push0=, $0
return $pop0
-func_end1:
- .size i64_extend_s_i32, func_end1-i64_extend_s_i32
+.Lfunc_end1:
+ .size i64_extend_s_i32, .Lfunc_end1-i64_extend_s_i32
.globl i64_extend_u_i32
.type i64_extend_u_i32,@function
@@ -27,8 +27,8 @@ i64_extend_u_i32:
.result i64
i64.extend_u/i32 $push0=, $0
return $pop0
-func_end2:
- .size i64_extend_u_i32, func_end2-i64_extend_u_i32
+.Lfunc_end2:
+ .size i64_extend_u_i32, .Lfunc_end2-i64_extend_u_i32
.globl i32_trunc_s_f32
.type i32_trunc_s_f32,@function
@@ -37,8 +37,8 @@ i32_trunc_s_f32:
.result i32
i32.trunc_s/f32 $push0=, $0
return $pop0
-func_end3:
- .size i32_trunc_s_f32, func_end3-i32_trunc_s_f32
+.Lfunc_end3:
+ .size i32_trunc_s_f32, .Lfunc_end3-i32_trunc_s_f32
.globl i32_trunc_u_f32
.type i32_trunc_u_f32,@function
@@ -47,8 +47,8 @@ i32_trunc_u_f32:
.result i32
i32.trunc_u/f32 $push0=, $0
return $pop0
-func_end4:
- .size i32_trunc_u_f32, func_end4-i32_trunc_u_f32
+.Lfunc_end4:
+ .size i32_trunc_u_f32, .Lfunc_end4-i32_trunc_u_f32
.globl i32_trunc_s_f64
.type i32_trunc_s_f64,@function
@@ -57,8 +57,8 @@ i32_trunc_s_f64:
.result i32
i32.trunc_s/f64 $push0=, $0
return $pop0
-func_end5:
- .size i32_trunc_s_f64, func_end5-i32_trunc_s_f64
+.Lfunc_end5:
+ .size i32_trunc_s_f64, .Lfunc_end5-i32_trunc_s_f64
.globl i32_trunc_u_f64
.type i32_trunc_u_f64,@function
@@ -67,8 +67,8 @@ i32_trunc_u_f64:
.result i32
i32.trunc_u/f64 $push0=, $0
return $pop0
-func_end6:
- .size i32_trunc_u_f64, func_end6-i32_trunc_u_f64
+.Lfunc_end6:
+ .size i32_trunc_u_f64, .Lfunc_end6-i32_trunc_u_f64
.globl i64_trunc_s_f32
.type i64_trunc_s_f32,@function
@@ -77,8 +77,8 @@ i64_trunc_s_f32:
.result i64
i64.trunc_s/f32 $push0=, $0
return $pop0
-func_end7:
- .size i64_trunc_s_f32, func_end7-i64_trunc_s_f32
+.Lfunc_end7:
+ .size i64_trunc_s_f32, .Lfunc_end7-i64_trunc_s_f32
.globl i64_trunc_u_f32
.type i64_trunc_u_f32,@function
@@ -87,8 +87,8 @@ i64_trunc_u_f32:
.result i64
i64.trunc_u/f32 $push0=, $0
return $pop0
-func_end8:
- .size i64_trunc_u_f32, func_end8-i64_trunc_u_f32
+.Lfunc_end8:
+ .size i64_trunc_u_f32, .Lfunc_end8-i64_trunc_u_f32
.globl i64_trunc_s_f64
.type i64_trunc_s_f64,@function
@@ -97,8 +97,8 @@ i64_trunc_s_f64:
.result i64
i64.trunc_s/f64 $push0=, $0
return $pop0
-func_end9:
- .size i64_trunc_s_f64, func_end9-i64_trunc_s_f64
+.Lfunc_end9:
+ .size i64_trunc_s_f64, .Lfunc_end9-i64_trunc_s_f64
.globl i64_trunc_u_f64
.type i64_trunc_u_f64,@function
@@ -107,8 +107,8 @@ i64_trunc_u_f64:
.result i64
i64.trunc_u/f64 $push0=, $0
return $pop0
-func_end10:
- .size i64_trunc_u_f64, func_end10-i64_trunc_u_f64
+.Lfunc_end10:
+ .size i64_trunc_u_f64, .Lfunc_end10-i64_trunc_u_f64
.globl f32_convert_s_i32
.type f32_convert_s_i32,@function
@@ -117,8 +117,8 @@ f32_convert_s_i32:
.result f32
f32.convert_s/i32 $push0=, $0
return $pop0
-func_end11:
- .size f32_convert_s_i32, func_end11-f32_convert_s_i32
+.Lfunc_end11:
+ .size f32_convert_s_i32, .Lfunc_end11-f32_convert_s_i32
.globl f32_convert_u_i32
.type f32_convert_u_i32,@function
@@ -127,8 +127,8 @@ f32_convert_u_i32:
.result f32
f32.convert_u/i32 $push0=, $0
return $pop0
-func_end12:
- .size f32_convert_u_i32, func_end12-f32_convert_u_i32
+.Lfunc_end12:
+ .size f32_convert_u_i32, .Lfunc_end12-f32_convert_u_i32
.globl f64_convert_s_i32
.type f64_convert_s_i32,@function
@@ -137,8 +137,8 @@ f64_convert_s_i32:
.result f64
f64.convert_s/i32 $push0=, $0
return $pop0
-func_end13:
- .size f64_convert_s_i32, func_end13-f64_convert_s_i32
+.Lfunc_end13:
+ .size f64_convert_s_i32, .Lfunc_end13-f64_convert_s_i32
.globl f64_convert_u_i32
.type f64_convert_u_i32,@function
@@ -147,8 +147,8 @@ f64_convert_u_i32:
.result f64
f64.convert_u/i32 $push0=, $0
return $pop0
-func_end14:
- .size f64_convert_u_i32, func_end14-f64_convert_u_i32
+.Lfunc_end14:
+ .size f64_convert_u_i32, .Lfunc_end14-f64_convert_u_i32
.globl f32_convert_s_i64
.type f32_convert_s_i64,@function
@@ -157,8 +157,8 @@ f32_convert_s_i64:
.result f32
f32.convert_s/i64 $push0=, $0
return $pop0
-func_end15:
- .size f32_convert_s_i64, func_end15-f32_convert_s_i64
+.Lfunc_end15:
+ .size f32_convert_s_i64, .Lfunc_end15-f32_convert_s_i64
.globl f32_convert_u_i64
.type f32_convert_u_i64,@function
@@ -167,8 +167,8 @@ f32_convert_u_i64:
.result f32
f32.convert_u/i64 $push0=, $0
return $pop0
-func_end16:
- .size f32_convert_u_i64, func_end16-f32_convert_u_i64
+.Lfunc_end16:
+ .size f32_convert_u_i64, .Lfunc_end16-f32_convert_u_i64
.globl f64_convert_s_i64
.type f64_convert_s_i64,@function
@@ -177,8 +177,8 @@ f64_convert_s_i64:
.result f64
f64.convert_s/i64 $push0=, $0
return $pop0
-func_end17:
- .size f64_convert_s_i64, func_end17-f64_convert_s_i64
+.Lfunc_end17:
+ .size f64_convert_s_i64, .Lfunc_end17-f64_convert_s_i64
.globl f64_convert_u_i64
.type f64_convert_u_i64,@function
@@ -187,8 +187,8 @@ f64_convert_u_i64:
.result f64
f64.convert_u/i64 $push0=, $0
return $pop0
-func_end18:
- .size f64_convert_u_i64, func_end18-f64_convert_u_i64
+.Lfunc_end18:
+ .size f64_convert_u_i64, .Lfunc_end18-f64_convert_u_i64
.globl f64_promote_f32
.type f64_promote_f32,@function
@@ -197,8 +197,8 @@ f64_promote_f32:
.result f64
f64.promote/f32 $push0=, $0
return $pop0
-func_end19:
- .size f64_promote_f32, func_end19-f64_promote_f32
+.Lfunc_end19:
+ .size f64_promote_f32, .Lfunc_end19-f64_promote_f32
.globl f32_demote_f64
.type f32_demote_f64,@function
@@ -207,8 +207,8 @@ f32_demote_f64:
.result f32
f32.demote/f64 $push0=, $0
return $pop0
-func_end20:
- .size f32_demote_f64, func_end20-f32_demote_f64
+.Lfunc_end20:
+ .size f32_demote_f64, .Lfunc_end20-f32_demote_f64
.globl anyext
.type anyext,@function
@@ -219,8 +219,8 @@ anyext:
i64.const $push1=, 32
i64.shl $push2=, $pop0, $pop1
return $pop2
-func_end21:
- .size anyext, func_end21-anyext
+.Lfunc_end21:
+ .size anyext, .Lfunc_end21-anyext
.globl bitcast_i32_to_float
.type bitcast_i32_to_float,@function
@@ -229,8 +229,8 @@ bitcast_i32_to_float:
.result f32
f32.reinterpret/i32 $push0=, $0
return $pop0
-func_end22:
- .size bitcast_i32_to_float, func_end22-bitcast_i32_to_float
+.Lfunc_end22:
+ .size bitcast_i32_to_float, .Lfunc_end22-bitcast_i32_to_float
.globl bitcast_float_to_i32
.type bitcast_float_to_i32,@function
@@ -239,8 +239,8 @@ bitcast_float_to_i32:
.result i32
i32.reinterpret/f32 $push0=, $0
return $pop0
-func_end23:
- .size bitcast_float_to_i32, func_end23-bitcast_float_to_i32
+.Lfunc_end23:
+ .size bitcast_float_to_i32, .Lfunc_end23-bitcast_float_to_i32
.globl bitcast_i64_to_double
.type bitcast_i64_to_double,@function
@@ -249,8 +249,8 @@ bitcast_i64_to_double:
.result f64
f64.reinterpret/i64 $push0=, $0
return $pop0
-func_end24:
- .size bitcast_i64_to_double, func_end24-bitcast_i64_to_double
+.Lfunc_end24:
+ .size bitcast_i64_to_double, .Lfunc_end24-bitcast_i64_to_double
.globl bitcast_double_to_i64
.type bitcast_double_to_i64,@function
@@ -259,8 +259,8 @@ bitcast_double_to_i64:
.result i64
i64.reinterpret/f64 $push0=, $0
return $pop0
-func_end25:
- .size bitcast_double_to_i64, func_end25-bitcast_double_to_i64
+.Lfunc_end25:
+ .size bitcast_double_to_i64, .Lfunc_end25-bitcast_double_to_i64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/copysign-casts.s b/test/llvm_autogenerated/copysign-casts.s
index 41c1c7680..64e7e354e 100644
--- a/test/llvm_autogenerated/copysign-casts.s
+++ b/test/llvm_autogenerated/copysign-casts.s
@@ -8,8 +8,8 @@ fold_promote:
f64.promote/f32 $push0=, $1
f64.copysign $push1=, $0, $pop0
return $pop1
-func_end0:
- .size fold_promote, func_end0-fold_promote
+.Lfunc_end0:
+ .size fold_promote, .Lfunc_end0-fold_promote
.globl fold_demote
.type fold_demote,@function
@@ -19,8 +19,8 @@ fold_demote:
f32.demote/f64 $push0=, $1
f32.copysign $push1=, $0, $pop0
return $pop1
-func_end1:
- .size fold_demote, func_end1-fold_demote
+.Lfunc_end1:
+ .size fold_demote, .Lfunc_end1-fold_demote
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/cpus.s b/test/llvm_autogenerated/cpus.s
index 6ec9ec13c..9e1d701d2 100644
--- a/test/llvm_autogenerated/cpus.s
+++ b/test/llvm_autogenerated/cpus.s
@@ -6,8 +6,8 @@ f:
.param i32
.result i32
return $0
-func_end0:
- .size f, func_end0-f
+.Lfunc_end0:
+ .size f, .Lfunc_end0-f
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/dead-vreg.s b/test/llvm_autogenerated/dead-vreg.s
index 3e9a1aa03..d6aa16575 100644
--- a/test/llvm_autogenerated/dead-vreg.s
+++ b/test/llvm_autogenerated/dead-vreg.s
@@ -6,39 +6,39 @@ foo:
.param i32, i32, i32
.local i32, i32, i32, i32, i32, i32, i32
i32.const $4=, 1
- block BB0_5
+ block .LBB0_5
i32.lt_s $push0=, $2, $4
- br_if $pop0, BB0_5
+ br_if $pop0, .LBB0_5
i32.const $5=, 0
i32.const $push1=, 2
i32.shl $3=, $1, $pop1
copy_local $6=, $5
-BB0_2:
- loop BB0_5
+.LBB0_2:
+ loop .LBB0_5
copy_local $7=, $5
copy_local $8=, $0
copy_local $9=, $1
- block BB0_4
+ block .LBB0_4
i32.lt_s $push2=, $1, $4
- br_if $pop2, BB0_4
-BB0_3:
- loop BB0_4
+ br_if $pop2, .LBB0_4
+.LBB0_3:
+ loop .LBB0_4
i32.const $push3=, -1
i32.add $9=, $9, $pop3
i32.store $discard=, 0($8), $7
i32.const $push4=, 4
i32.add $8=, $8, $pop4
i32.add $7=, $7, $6
- br_if $9, BB0_3
-BB0_4:
+ br_if $9, .LBB0_3
+.LBB0_4:
i32.add $6=, $6, $4
i32.add $0=, $0, $3
i32.ne $push5=, $6, $2
- br_if $pop5, BB0_2
-BB0_5:
+ br_if $pop5, .LBB0_2
+.LBB0_5:
return
-func_end0:
- .size foo, func_end0-foo
+.Lfunc_end0:
+ .size foo, .Lfunc_end0-foo
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/dead-vreg.wast b/test/llvm_autogenerated/dead-vreg.wast
index ee4fa0d06..0ce06c41c 100644
--- a/test/llvm_autogenerated/dead-vreg.wast
+++ b/test/llvm_autogenerated/dead-vreg.wast
@@ -14,13 +14,13 @@
(set_local $$4
(i32.const 1)
)
- (block $BB0_5
+ (block $.LBB0_5
(br_if
(i32.lt_s
(get_local $$2)
(get_local $$4)
)
- $BB0_5
+ $.LBB0_5
)
(set_local $$5
(i32.const 0)
@@ -34,7 +34,7 @@
(set_local $$6
(get_local $$5)
)
- (loop $BB0_2
+ (loop $.LBB0_2
(block
(set_local $$7
(get_local $$5)
@@ -45,15 +45,15 @@
(set_local $$9
(get_local $$1)
)
- (block $BB0_4
+ (block $.LBB0_4
(br_if
(i32.lt_s
(get_local $$1)
(get_local $$4)
)
- $BB0_4
+ $.LBB0_4
)
- (loop $BB0_3
+ (loop $.LBB0_3
(block
(set_local $$9
(i32.add
@@ -79,7 +79,7 @@
)
(br_if
(get_local $$9)
- $BB0_3
+ $.LBB0_3
)
)
)
@@ -101,7 +101,7 @@
(get_local $$6)
(get_local $$2)
)
- $BB0_2
+ $.LBB0_2
)
)
)
diff --git a/test/llvm_autogenerated/f32.s b/test/llvm_autogenerated/f32.s
index c9415abff..53ec18d7f 100644
--- a/test/llvm_autogenerated/f32.s
+++ b/test/llvm_autogenerated/f32.s
@@ -7,8 +7,8 @@ fadd32:
.result f32
f32.add $push0=, $0, $1
return $pop0
-func_end0:
- .size fadd32, func_end0-fadd32
+.Lfunc_end0:
+ .size fadd32, .Lfunc_end0-fadd32
.globl fsub32
.type fsub32,@function
@@ -17,8 +17,8 @@ fsub32:
.result f32
f32.sub $push0=, $0, $1
return $pop0
-func_end1:
- .size fsub32, func_end1-fsub32
+.Lfunc_end1:
+ .size fsub32, .Lfunc_end1-fsub32
.globl fmul32
.type fmul32,@function
@@ -27,8 +27,8 @@ fmul32:
.result f32
f32.mul $push0=, $0, $1
return $pop0
-func_end2:
- .size fmul32, func_end2-fmul32
+.Lfunc_end2:
+ .size fmul32, .Lfunc_end2-fmul32
.globl fdiv32
.type fdiv32,@function
@@ -37,8 +37,8 @@ fdiv32:
.result f32
f32.div $push0=, $0, $1
return $pop0
-func_end3:
- .size fdiv32, func_end3-fdiv32
+.Lfunc_end3:
+ .size fdiv32, .Lfunc_end3-fdiv32
.globl fabs32
.type fabs32,@function
@@ -47,8 +47,8 @@ fabs32:
.result f32
f32.abs $push0=, $0
return $pop0
-func_end4:
- .size fabs32, func_end4-fabs32
+.Lfunc_end4:
+ .size fabs32, .Lfunc_end4-fabs32
.globl fneg32
.type fneg32,@function
@@ -57,8 +57,8 @@ fneg32:
.result f32
f32.neg $push0=, $0
return $pop0
-func_end5:
- .size fneg32, func_end5-fneg32
+.Lfunc_end5:
+ .size fneg32, .Lfunc_end5-fneg32
.globl copysign32
.type copysign32,@function
@@ -67,8 +67,8 @@ copysign32:
.result f32
f32.copysign $push0=, $0, $1
return $pop0
-func_end6:
- .size copysign32, func_end6-copysign32
+.Lfunc_end6:
+ .size copysign32, .Lfunc_end6-copysign32
.globl sqrt32
.type sqrt32,@function
@@ -77,8 +77,8 @@ sqrt32:
.result f32
f32.sqrt $push0=, $0
return $pop0
-func_end7:
- .size sqrt32, func_end7-sqrt32
+.Lfunc_end7:
+ .size sqrt32, .Lfunc_end7-sqrt32
.globl ceil32
.type ceil32,@function
@@ -87,8 +87,8 @@ ceil32:
.result f32
f32.ceil $push0=, $0
return $pop0
-func_end8:
- .size ceil32, func_end8-ceil32
+.Lfunc_end8:
+ .size ceil32, .Lfunc_end8-ceil32
.globl floor32
.type floor32,@function
@@ -97,8 +97,8 @@ floor32:
.result f32
f32.floor $push0=, $0
return $pop0
-func_end9:
- .size floor32, func_end9-floor32
+.Lfunc_end9:
+ .size floor32, .Lfunc_end9-floor32
.globl trunc32
.type trunc32,@function
@@ -107,8 +107,8 @@ trunc32:
.result f32
f32.trunc $push0=, $0
return $pop0
-func_end10:
- .size trunc32, func_end10-trunc32
+.Lfunc_end10:
+ .size trunc32, .Lfunc_end10-trunc32
.globl nearest32
.type nearest32,@function
@@ -117,8 +117,8 @@ nearest32:
.result f32
f32.nearest $push0=, $0
return $pop0
-func_end11:
- .size nearest32, func_end11-nearest32
+.Lfunc_end11:
+ .size nearest32, .Lfunc_end11-nearest32
.globl nearest32_via_rint
.type nearest32_via_rint,@function
@@ -127,8 +127,8 @@ nearest32_via_rint:
.result f32
f32.nearest $push0=, $0
return $pop0
-func_end12:
- .size nearest32_via_rint, func_end12-nearest32_via_rint
+.Lfunc_end12:
+ .size nearest32_via_rint, .Lfunc_end12-nearest32_via_rint
.globl fmin32
.type fmin32,@function
@@ -138,8 +138,8 @@ fmin32:
f32.const $push0=, 0x0p0
f32.min $push1=, $0, $pop0
return $pop1
-func_end13:
- .size fmin32, func_end13-fmin32
+.Lfunc_end13:
+ .size fmin32, .Lfunc_end13-fmin32
.globl fmax32
.type fmax32,@function
@@ -149,8 +149,8 @@ fmax32:
f32.const $push0=, 0x0p0
f32.max $push1=, $0, $pop0
return $pop1
-func_end14:
- .size fmax32, func_end14-fmax32
+.Lfunc_end14:
+ .size fmax32, .Lfunc_end14-fmax32
.globl fma32
.type fma32,@function
@@ -159,8 +159,8 @@ fma32:
.result f32
f32.call $push0=, fmaf, $0, $1, $2
return $pop0
-func_end15:
- .size fma32, func_end15-fma32
+.Lfunc_end15:
+ .size fma32, .Lfunc_end15-fma32
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/f64.s b/test/llvm_autogenerated/f64.s
index f1f7ad4a3..423d7cb77 100644
--- a/test/llvm_autogenerated/f64.s
+++ b/test/llvm_autogenerated/f64.s
@@ -7,8 +7,8 @@ fadd64:
.result f64
f64.add $push0=, $0, $1
return $pop0
-func_end0:
- .size fadd64, func_end0-fadd64
+.Lfunc_end0:
+ .size fadd64, .Lfunc_end0-fadd64
.globl fsub64
.type fsub64,@function
@@ -17,8 +17,8 @@ fsub64:
.result f64
f64.sub $push0=, $0, $1
return $pop0
-func_end1:
- .size fsub64, func_end1-fsub64
+.Lfunc_end1:
+ .size fsub64, .Lfunc_end1-fsub64
.globl fmul64
.type fmul64,@function
@@ -27,8 +27,8 @@ fmul64:
.result f64
f64.mul $push0=, $0, $1
return $pop0
-func_end2:
- .size fmul64, func_end2-fmul64
+.Lfunc_end2:
+ .size fmul64, .Lfunc_end2-fmul64
.globl fdiv64
.type fdiv64,@function
@@ -37,8 +37,8 @@ fdiv64:
.result f64
f64.div $push0=, $0, $1
return $pop0
-func_end3:
- .size fdiv64, func_end3-fdiv64
+.Lfunc_end3:
+ .size fdiv64, .Lfunc_end3-fdiv64
.globl fabs64
.type fabs64,@function
@@ -47,8 +47,8 @@ fabs64:
.result f64
f64.abs $push0=, $0
return $pop0
-func_end4:
- .size fabs64, func_end4-fabs64
+.Lfunc_end4:
+ .size fabs64, .Lfunc_end4-fabs64
.globl fneg64
.type fneg64,@function
@@ -57,8 +57,8 @@ fneg64:
.result f64
f64.neg $push0=, $0
return $pop0
-func_end5:
- .size fneg64, func_end5-fneg64
+.Lfunc_end5:
+ .size fneg64, .Lfunc_end5-fneg64
.globl copysign64
.type copysign64,@function
@@ -67,8 +67,8 @@ copysign64:
.result f64
f64.copysign $push0=, $0, $1
return $pop0
-func_end6:
- .size copysign64, func_end6-copysign64
+.Lfunc_end6:
+ .size copysign64, .Lfunc_end6-copysign64
.globl sqrt64
.type sqrt64,@function
@@ -77,8 +77,8 @@ sqrt64:
.result f64
f64.sqrt $push0=, $0
return $pop0
-func_end7:
- .size sqrt64, func_end7-sqrt64
+.Lfunc_end7:
+ .size sqrt64, .Lfunc_end7-sqrt64
.globl ceil64
.type ceil64,@function
@@ -87,8 +87,8 @@ ceil64:
.result f64
f64.ceil $push0=, $0
return $pop0
-func_end8:
- .size ceil64, func_end8-ceil64
+.Lfunc_end8:
+ .size ceil64, .Lfunc_end8-ceil64
.globl floor64
.type floor64,@function
@@ -97,8 +97,8 @@ floor64:
.result f64
f64.floor $push0=, $0
return $pop0
-func_end9:
- .size floor64, func_end9-floor64
+.Lfunc_end9:
+ .size floor64, .Lfunc_end9-floor64
.globl trunc64
.type trunc64,@function
@@ -107,8 +107,8 @@ trunc64:
.result f64
f64.trunc $push0=, $0
return $pop0
-func_end10:
- .size trunc64, func_end10-trunc64
+.Lfunc_end10:
+ .size trunc64, .Lfunc_end10-trunc64
.globl nearest64
.type nearest64,@function
@@ -117,8 +117,8 @@ nearest64:
.result f64
f64.nearest $push0=, $0
return $pop0
-func_end11:
- .size nearest64, func_end11-nearest64
+.Lfunc_end11:
+ .size nearest64, .Lfunc_end11-nearest64
.globl nearest64_via_rint
.type nearest64_via_rint,@function
@@ -127,8 +127,8 @@ nearest64_via_rint:
.result f64
f64.nearest $push0=, $0
return $pop0
-func_end12:
- .size nearest64_via_rint, func_end12-nearest64_via_rint
+.Lfunc_end12:
+ .size nearest64_via_rint, .Lfunc_end12-nearest64_via_rint
.globl fmin64
.type fmin64,@function
@@ -138,8 +138,8 @@ fmin64:
f64.const $push0=, 0x0p0
f64.min $push1=, $0, $pop0
return $pop1
-func_end13:
- .size fmin64, func_end13-fmin64
+.Lfunc_end13:
+ .size fmin64, .Lfunc_end13-fmin64
.globl fmax64
.type fmax64,@function
@@ -149,8 +149,8 @@ fmax64:
f64.const $push0=, 0x0p0
f64.max $push1=, $0, $pop0
return $pop1
-func_end14:
- .size fmax64, func_end14-fmax64
+.Lfunc_end14:
+ .size fmax64, .Lfunc_end14-fmax64
.globl fma64
.type fma64,@function
@@ -159,8 +159,8 @@ fma64:
.result f64
f64.call $push0=, fma, $0, $1, $2
return $pop0
-func_end15:
- .size fma64, func_end15-fma64
+.Lfunc_end15:
+ .size fma64, .Lfunc_end15-fma64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/fast-isel.s b/test/llvm_autogenerated/fast-isel.s
index 9c609102c..e511c33a1 100644
--- a/test/llvm_autogenerated/fast-isel.s
+++ b/test/llvm_autogenerated/fast-isel.s
@@ -6,8 +6,8 @@ immediate_f32:
.result f32
f32.const $push0=, 0x1.4p1
return $pop0
-func_end0:
- .size immediate_f32, func_end0-immediate_f32
+.Lfunc_end0:
+ .size immediate_f32, .Lfunc_end0-immediate_f32
.globl immediate_f64
.type immediate_f64,@function
@@ -15,8 +15,8 @@ immediate_f64:
.result f64
f64.const $push0=, 0x1.4p1
return $pop0
-func_end1:
- .size immediate_f64, func_end1-immediate_f64
+.Lfunc_end1:
+ .size immediate_f64, .Lfunc_end1-immediate_f64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/frem.s b/test/llvm_autogenerated/frem.s
index ee9849225..44d12adfd 100644
--- a/test/llvm_autogenerated/frem.s
+++ b/test/llvm_autogenerated/frem.s
@@ -7,8 +7,8 @@ frem32:
.result f32
f32.call $push0=, fmodf, $0, $1
return $pop0
-func_end0:
- .size frem32, func_end0-frem32
+.Lfunc_end0:
+ .size frem32, .Lfunc_end0-frem32
.globl frem64
.type frem64,@function
@@ -17,8 +17,8 @@ frem64:
.result f64
f64.call $push0=, fmod, $0, $1
return $pop0
-func_end1:
- .size frem64, func_end1-frem64
+.Lfunc_end1:
+ .size frem64, .Lfunc_end1-frem64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/func.s b/test/llvm_autogenerated/func.s
index 5c0f7cb97..7bfa158f9 100644
--- a/test/llvm_autogenerated/func.s
+++ b/test/llvm_autogenerated/func.s
@@ -4,8 +4,8 @@
.type f0,@function
f0:
return
-func_end0:
- .size f0, func_end0-f0
+.Lfunc_end0:
+ .size f0, .Lfunc_end0-f0
.globl f1
.type f1,@function
@@ -13,8 +13,8 @@ f1:
.result i32
i32.const $push0=, 0
return $pop0
-func_end1:
- .size f1, func_end1-f1
+.Lfunc_end1:
+ .size f1, .Lfunc_end1-f1
.globl f2
.type f2,@function
@@ -23,16 +23,16 @@ f2:
.result i32
i32.const $push0=, 0
return $pop0
-func_end2:
- .size f2, func_end2-f2
+.Lfunc_end2:
+ .size f2, .Lfunc_end2-f2
.globl f3
.type f3,@function
f3:
.param i32, f32
return
-func_end3:
- .size f3, func_end3-f3
+.Lfunc_end3:
+ .size f3, .Lfunc_end3-f3
.globl f4
.type f4,@function
@@ -41,25 +41,25 @@ f4:
.result i32
.local i32
i32.const $1=, 1
- block BB4_2
+ block .LBB4_2
i32.and $push0=, $0, $1
i32.const $push2=, 0
i32.eq $push3=, $pop0, $pop2
- br_if $pop3, BB4_2
+ br_if $pop3, .LBB4_2
i32.const $push1=, 0
return $pop1
-BB4_2:
+.LBB4_2:
return $1
-func_end4:
- .size f4, func_end4-f4
+.Lfunc_end4:
+ .size f4, .Lfunc_end4-f4
.globl f5
.type f5,@function
f5:
.result f32
unreachable
-func_end5:
- .size f5, func_end5-f5
+.Lfunc_end5:
+ .size f5, .Lfunc_end5-f5
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/func.wast b/test/llvm_autogenerated/func.wast
index 0506697be..332c8880d 100644
--- a/test/llvm_autogenerated/func.wast
+++ b/test/llvm_autogenerated/func.wast
@@ -45,7 +45,7 @@
(set_local $$1
(i32.const 1)
)
- (block $BB4_2
+ (block $.LBB4_2
(br_if
(i32.eq
(i32.and
@@ -54,7 +54,7 @@
)
(i32.const 0)
)
- $BB4_2
+ $.LBB4_2
)
(br $fake_return_waka123
(i32.const 0)
diff --git a/test/llvm_autogenerated/global.s b/test/llvm_autogenerated/global.s
index fc3f3cd2b..82b1d75d1 100644
--- a/test/llvm_autogenerated/global.s
+++ b/test/llvm_autogenerated/global.s
@@ -7,8 +7,8 @@ foo:
i32.const $push0=, 0
i32.load $push1=, answer($pop0)
return $pop1
-func_end0:
- .size foo, func_end0-foo
+.Lfunc_end0:
+ .size foo, .Lfunc_end0-foo
.globl call_memcpy
.type call_memcpy,@function
@@ -17,15 +17,15 @@ call_memcpy:
.result i32
call memcpy, $0, $1, $2
return $0
-func_end1:
- .size call_memcpy, func_end1-call_memcpy
+.Lfunc_end1:
+ .size call_memcpy, .Lfunc_end1-call_memcpy
- .type g,@object
+ .type .Lg,@object
.data
.align 2
-g:
+.Lg:
.int32 1337
- .size g, 4
+ .size .Lg, 4
.type ud,@object
.align 2
diff --git a/test/llvm_autogenerated/globl.s b/test/llvm_autogenerated/globl.s
index 1e6bda335..0453076f7 100644
--- a/test/llvm_autogenerated/globl.s
+++ b/test/llvm_autogenerated/globl.s
@@ -4,8 +4,8 @@
.type foo,@function
foo:
return
-func_end0:
- .size foo, func_end0-foo
+.Lfunc_end0:
+ .size foo, .Lfunc_end0-foo
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/i32.s b/test/llvm_autogenerated/i32.s
index 4d8e693c2..c214cac8f 100644
--- a/test/llvm_autogenerated/i32.s
+++ b/test/llvm_autogenerated/i32.s
@@ -7,8 +7,8 @@ add32:
.result i32
i32.add $push0=, $0, $1
return $pop0
-func_end0:
- .size add32, func_end0-add32
+.Lfunc_end0:
+ .size add32, .Lfunc_end0-add32
.globl sub32
.type sub32,@function
@@ -17,8 +17,8 @@ sub32:
.result i32
i32.sub $push0=, $0, $1
return $pop0
-func_end1:
- .size sub32, func_end1-sub32
+.Lfunc_end1:
+ .size sub32, .Lfunc_end1-sub32
.globl mul32
.type mul32,@function
@@ -27,8 +27,8 @@ mul32:
.result i32
i32.mul $push0=, $0, $1
return $pop0
-func_end2:
- .size mul32, func_end2-mul32
+.Lfunc_end2:
+ .size mul32, .Lfunc_end2-mul32
.globl sdiv32
.type sdiv32,@function
@@ -37,8 +37,8 @@ sdiv32:
.result i32
i32.div_s $push0=, $0, $1
return $pop0
-func_end3:
- .size sdiv32, func_end3-sdiv32
+.Lfunc_end3:
+ .size sdiv32, .Lfunc_end3-sdiv32
.globl udiv32
.type udiv32,@function
@@ -47,8 +47,8 @@ udiv32:
.result i32
i32.div_u $push0=, $0, $1
return $pop0
-func_end4:
- .size udiv32, func_end4-udiv32
+.Lfunc_end4:
+ .size udiv32, .Lfunc_end4-udiv32
.globl srem32
.type srem32,@function
@@ -57,8 +57,8 @@ srem32:
.result i32
i32.rem_s $push0=, $0, $1
return $pop0
-func_end5:
- .size srem32, func_end5-srem32
+.Lfunc_end5:
+ .size srem32, .Lfunc_end5-srem32
.globl urem32
.type urem32,@function
@@ -67,8 +67,8 @@ urem32:
.result i32
i32.rem_u $push0=, $0, $1
return $pop0
-func_end6:
- .size urem32, func_end6-urem32
+.Lfunc_end6:
+ .size urem32, .Lfunc_end6-urem32
.globl and32
.type and32,@function
@@ -77,8 +77,8 @@ and32:
.result i32
i32.and $push0=, $0, $1
return $pop0
-func_end7:
- .size and32, func_end7-and32
+.Lfunc_end7:
+ .size and32, .Lfunc_end7-and32
.globl or32
.type or32,@function
@@ -87,8 +87,8 @@ or32:
.result i32
i32.or $push0=, $0, $1
return $pop0
-func_end8:
- .size or32, func_end8-or32
+.Lfunc_end8:
+ .size or32, .Lfunc_end8-or32
.globl xor32
.type xor32,@function
@@ -97,8 +97,8 @@ xor32:
.result i32
i32.xor $push0=, $0, $1
return $pop0
-func_end9:
- .size xor32, func_end9-xor32
+.Lfunc_end9:
+ .size xor32, .Lfunc_end9-xor32
.globl shl32
.type shl32,@function
@@ -107,8 +107,8 @@ shl32:
.result i32
i32.shl $push0=, $0, $1
return $pop0
-func_end10:
- .size shl32, func_end10-shl32
+.Lfunc_end10:
+ .size shl32, .Lfunc_end10-shl32
.globl shr32
.type shr32,@function
@@ -117,8 +117,8 @@ shr32:
.result i32
i32.shr_u $push0=, $0, $1
return $pop0
-func_end11:
- .size shr32, func_end11-shr32
+.Lfunc_end11:
+ .size shr32, .Lfunc_end11-shr32
.globl sar32
.type sar32,@function
@@ -127,8 +127,8 @@ sar32:
.result i32
i32.shr_s $push0=, $0, $1
return $pop0
-func_end12:
- .size sar32, func_end12-sar32
+.Lfunc_end12:
+ .size sar32, .Lfunc_end12-sar32
.globl clz32
.type clz32,@function
@@ -137,8 +137,8 @@ clz32:
.result i32
i32.clz $push0=, $0
return $pop0
-func_end13:
- .size clz32, func_end13-clz32
+.Lfunc_end13:
+ .size clz32, .Lfunc_end13-clz32
.globl clz32_zero_undef
.type clz32_zero_undef,@function
@@ -147,8 +147,8 @@ clz32_zero_undef:
.result i32
i32.clz $push0=, $0
return $pop0
-func_end14:
- .size clz32_zero_undef, func_end14-clz32_zero_undef
+.Lfunc_end14:
+ .size clz32_zero_undef, .Lfunc_end14-clz32_zero_undef
.globl ctz32
.type ctz32,@function
@@ -157,8 +157,8 @@ ctz32:
.result i32
i32.ctz $push0=, $0
return $pop0
-func_end15:
- .size ctz32, func_end15-ctz32
+.Lfunc_end15:
+ .size ctz32, .Lfunc_end15-ctz32
.globl ctz32_zero_undef
.type ctz32_zero_undef,@function
@@ -167,8 +167,8 @@ ctz32_zero_undef:
.result i32
i32.ctz $push0=, $0
return $pop0
-func_end16:
- .size ctz32_zero_undef, func_end16-ctz32_zero_undef
+.Lfunc_end16:
+ .size ctz32_zero_undef, .Lfunc_end16-ctz32_zero_undef
.globl popcnt32
.type popcnt32,@function
@@ -177,8 +177,8 @@ popcnt32:
.result i32
i32.popcnt $push0=, $0
return $pop0
-func_end17:
- .size popcnt32, func_end17-popcnt32
+.Lfunc_end17:
+ .size popcnt32, .Lfunc_end17-popcnt32
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/i64.s b/test/llvm_autogenerated/i64.s
index ef97c0bb3..a6a96e6f7 100644
--- a/test/llvm_autogenerated/i64.s
+++ b/test/llvm_autogenerated/i64.s
@@ -7,8 +7,8 @@ add64:
.result i64
i64.add $push0=, $0, $1
return $pop0
-func_end0:
- .size add64, func_end0-add64
+.Lfunc_end0:
+ .size add64, .Lfunc_end0-add64
.globl sub64
.type sub64,@function
@@ -17,8 +17,8 @@ sub64:
.result i64
i64.sub $push0=, $0, $1
return $pop0
-func_end1:
- .size sub64, func_end1-sub64
+.Lfunc_end1:
+ .size sub64, .Lfunc_end1-sub64
.globl mul64
.type mul64,@function
@@ -27,8 +27,8 @@ mul64:
.result i64
i64.mul $push0=, $0, $1
return $pop0
-func_end2:
- .size mul64, func_end2-mul64
+.Lfunc_end2:
+ .size mul64, .Lfunc_end2-mul64
.globl sdiv64
.type sdiv64,@function
@@ -37,8 +37,8 @@ sdiv64:
.result i64
i64.div_s $push0=, $0, $1
return $pop0
-func_end3:
- .size sdiv64, func_end3-sdiv64
+.Lfunc_end3:
+ .size sdiv64, .Lfunc_end3-sdiv64
.globl udiv64
.type udiv64,@function
@@ -47,8 +47,8 @@ udiv64:
.result i64
i64.div_u $push0=, $0, $1
return $pop0
-func_end4:
- .size udiv64, func_end4-udiv64
+.Lfunc_end4:
+ .size udiv64, .Lfunc_end4-udiv64
.globl srem64
.type srem64,@function
@@ -57,8 +57,8 @@ srem64:
.result i64
i64.rem_s $push0=, $0, $1
return $pop0
-func_end5:
- .size srem64, func_end5-srem64
+.Lfunc_end5:
+ .size srem64, .Lfunc_end5-srem64
.globl urem64
.type urem64,@function
@@ -67,8 +67,8 @@ urem64:
.result i64
i64.rem_u $push0=, $0, $1
return $pop0
-func_end6:
- .size urem64, func_end6-urem64
+.Lfunc_end6:
+ .size urem64, .Lfunc_end6-urem64
.globl and64
.type and64,@function
@@ -77,8 +77,8 @@ and64:
.result i64
i64.and $push0=, $0, $1
return $pop0
-func_end7:
- .size and64, func_end7-and64
+.Lfunc_end7:
+ .size and64, .Lfunc_end7-and64
.globl or64
.type or64,@function
@@ -87,8 +87,8 @@ or64:
.result i64
i64.or $push0=, $0, $1
return $pop0
-func_end8:
- .size or64, func_end8-or64
+.Lfunc_end8:
+ .size or64, .Lfunc_end8-or64
.globl xor64
.type xor64,@function
@@ -97,8 +97,8 @@ xor64:
.result i64
i64.xor $push0=, $0, $1
return $pop0
-func_end9:
- .size xor64, func_end9-xor64
+.Lfunc_end9:
+ .size xor64, .Lfunc_end9-xor64
.globl shl64
.type shl64,@function
@@ -107,8 +107,8 @@ shl64:
.result i64
i64.shl $push0=, $0, $1
return $pop0
-func_end10:
- .size shl64, func_end10-shl64
+.Lfunc_end10:
+ .size shl64, .Lfunc_end10-shl64
.globl shr64
.type shr64,@function
@@ -117,8 +117,8 @@ shr64:
.result i64
i64.shr_u $push0=, $0, $1
return $pop0
-func_end11:
- .size shr64, func_end11-shr64
+.Lfunc_end11:
+ .size shr64, .Lfunc_end11-shr64
.globl sar64
.type sar64,@function
@@ -127,8 +127,8 @@ sar64:
.result i64
i64.shr_s $push0=, $0, $1
return $pop0
-func_end12:
- .size sar64, func_end12-sar64
+.Lfunc_end12:
+ .size sar64, .Lfunc_end12-sar64
.globl clz64
.type clz64,@function
@@ -137,8 +137,8 @@ clz64:
.result i64
i64.clz $push0=, $0
return $pop0
-func_end13:
- .size clz64, func_end13-clz64
+.Lfunc_end13:
+ .size clz64, .Lfunc_end13-clz64
.globl clz64_zero_undef
.type clz64_zero_undef,@function
@@ -147,8 +147,8 @@ clz64_zero_undef:
.result i64
i64.clz $push0=, $0
return $pop0
-func_end14:
- .size clz64_zero_undef, func_end14-clz64_zero_undef
+.Lfunc_end14:
+ .size clz64_zero_undef, .Lfunc_end14-clz64_zero_undef
.globl ctz64
.type ctz64,@function
@@ -157,8 +157,8 @@ ctz64:
.result i64
i64.ctz $push0=, $0
return $pop0
-func_end15:
- .size ctz64, func_end15-ctz64
+.Lfunc_end15:
+ .size ctz64, .Lfunc_end15-ctz64
.globl ctz64_zero_undef
.type ctz64_zero_undef,@function
@@ -167,8 +167,8 @@ ctz64_zero_undef:
.result i64
i64.ctz $push0=, $0
return $pop0
-func_end16:
- .size ctz64_zero_undef, func_end16-ctz64_zero_undef
+.Lfunc_end16:
+ .size ctz64_zero_undef, .Lfunc_end16-ctz64_zero_undef
.globl popcnt64
.type popcnt64,@function
@@ -177,8 +177,8 @@ popcnt64:
.result i64
i64.popcnt $push0=, $0
return $pop0
-func_end17:
- .size popcnt64, func_end17-popcnt64
+.Lfunc_end17:
+ .size popcnt64, .Lfunc_end17-popcnt64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/immediates.s b/test/llvm_autogenerated/immediates.s
index 1c6b2bc7a..e1cf622a3 100644
--- a/test/llvm_autogenerated/immediates.s
+++ b/test/llvm_autogenerated/immediates.s
@@ -6,8 +6,8 @@ zero_i32:
.result i32
i32.const $push0=, 0
return $pop0
-func_end0:
- .size zero_i32, func_end0-zero_i32
+.Lfunc_end0:
+ .size zero_i32, .Lfunc_end0-zero_i32
.globl one_i32
.type one_i32,@function
@@ -15,8 +15,8 @@ one_i32:
.result i32
i32.const $push0=, 1
return $pop0
-func_end1:
- .size one_i32, func_end1-one_i32
+.Lfunc_end1:
+ .size one_i32, .Lfunc_end1-one_i32
.globl max_i32
.type max_i32,@function
@@ -24,8 +24,8 @@ max_i32:
.result i32
i32.const $push0=, 2147483647
return $pop0
-func_end2:
- .size max_i32, func_end2-max_i32
+.Lfunc_end2:
+ .size max_i32, .Lfunc_end2-max_i32
.globl min_i32
.type min_i32,@function
@@ -33,8 +33,8 @@ min_i32:
.result i32
i32.const $push0=, -2147483648
return $pop0
-func_end3:
- .size min_i32, func_end3-min_i32
+.Lfunc_end3:
+ .size min_i32, .Lfunc_end3-min_i32
.globl zero_i64
.type zero_i64,@function
@@ -42,8 +42,8 @@ zero_i64:
.result i64
i64.const $push0=, 0
return $pop0
-func_end4:
- .size zero_i64, func_end4-zero_i64
+.Lfunc_end4:
+ .size zero_i64, .Lfunc_end4-zero_i64
.globl one_i64
.type one_i64,@function
@@ -51,8 +51,8 @@ one_i64:
.result i64
i64.const $push0=, 1
return $pop0
-func_end5:
- .size one_i64, func_end5-one_i64
+.Lfunc_end5:
+ .size one_i64, .Lfunc_end5-one_i64
.globl max_i64
.type max_i64,@function
@@ -60,8 +60,8 @@ max_i64:
.result i64
i64.const $push0=, 9223372036854775807
return $pop0
-func_end6:
- .size max_i64, func_end6-max_i64
+.Lfunc_end6:
+ .size max_i64, .Lfunc_end6-max_i64
.globl min_i64
.type min_i64,@function
@@ -69,8 +69,8 @@ min_i64:
.result i64
i64.const $push0=, -9223372036854775808
return $pop0
-func_end7:
- .size min_i64, func_end7-min_i64
+.Lfunc_end7:
+ .size min_i64, .Lfunc_end7-min_i64
.globl negzero_f32
.type negzero_f32,@function
@@ -78,8 +78,8 @@ negzero_f32:
.result f32
f32.const $push0=, -0x0p0
return $pop0
-func_end8:
- .size negzero_f32, func_end8-negzero_f32
+.Lfunc_end8:
+ .size negzero_f32, .Lfunc_end8-negzero_f32
.globl zero_f32
.type zero_f32,@function
@@ -87,8 +87,8 @@ zero_f32:
.result f32
f32.const $push0=, 0x0p0
return $pop0
-func_end9:
- .size zero_f32, func_end9-zero_f32
+.Lfunc_end9:
+ .size zero_f32, .Lfunc_end9-zero_f32
.globl one_f32
.type one_f32,@function
@@ -96,8 +96,8 @@ one_f32:
.result f32
f32.const $push0=, 0x1p0
return $pop0
-func_end10:
- .size one_f32, func_end10-one_f32
+.Lfunc_end10:
+ .size one_f32, .Lfunc_end10-one_f32
.globl two_f32
.type two_f32,@function
@@ -105,8 +105,8 @@ two_f32:
.result f32
f32.const $push0=, 0x1p1
return $pop0
-func_end11:
- .size two_f32, func_end11-two_f32
+.Lfunc_end11:
+ .size two_f32, .Lfunc_end11-two_f32
.globl nan_f32
.type nan_f32,@function
@@ -114,8 +114,8 @@ nan_f32:
.result f32
f32.const $push0=, nan
return $pop0
-func_end12:
- .size nan_f32, func_end12-nan_f32
+.Lfunc_end12:
+ .size nan_f32, .Lfunc_end12-nan_f32
.globl negnan_f32
.type negnan_f32,@function
@@ -123,8 +123,8 @@ negnan_f32:
.result f32
f32.const $push0=, -nan
return $pop0
-func_end13:
- .size negnan_f32, func_end13-negnan_f32
+.Lfunc_end13:
+ .size negnan_f32, .Lfunc_end13-negnan_f32
.globl inf_f32
.type inf_f32,@function
@@ -132,8 +132,8 @@ inf_f32:
.result f32
f32.const $push0=, infinity
return $pop0
-func_end14:
- .size inf_f32, func_end14-inf_f32
+.Lfunc_end14:
+ .size inf_f32, .Lfunc_end14-inf_f32
.globl neginf_f32
.type neginf_f32,@function
@@ -141,8 +141,8 @@ neginf_f32:
.result f32
f32.const $push0=, -infinity
return $pop0
-func_end15:
- .size neginf_f32, func_end15-neginf_f32
+.Lfunc_end15:
+ .size neginf_f32, .Lfunc_end15-neginf_f32
.globl negzero_f64
.type negzero_f64,@function
@@ -150,8 +150,8 @@ negzero_f64:
.result f64
f64.const $push0=, -0x0p0
return $pop0
-func_end16:
- .size negzero_f64, func_end16-negzero_f64
+.Lfunc_end16:
+ .size negzero_f64, .Lfunc_end16-negzero_f64
.globl zero_f64
.type zero_f64,@function
@@ -159,8 +159,8 @@ zero_f64:
.result f64
f64.const $push0=, 0x0p0
return $pop0
-func_end17:
- .size zero_f64, func_end17-zero_f64
+.Lfunc_end17:
+ .size zero_f64, .Lfunc_end17-zero_f64
.globl one_f64
.type one_f64,@function
@@ -168,8 +168,8 @@ one_f64:
.result f64
f64.const $push0=, 0x1p0
return $pop0
-func_end18:
- .size one_f64, func_end18-one_f64
+.Lfunc_end18:
+ .size one_f64, .Lfunc_end18-one_f64
.globl two_f64
.type two_f64,@function
@@ -177,8 +177,8 @@ two_f64:
.result f64
f64.const $push0=, 0x1p1
return $pop0
-func_end19:
- .size two_f64, func_end19-two_f64
+.Lfunc_end19:
+ .size two_f64, .Lfunc_end19-two_f64
.globl nan_f64
.type nan_f64,@function
@@ -186,8 +186,8 @@ nan_f64:
.result f64
f64.const $push0=, nan
return $pop0
-func_end20:
- .size nan_f64, func_end20-nan_f64
+.Lfunc_end20:
+ .size nan_f64, .Lfunc_end20-nan_f64
.globl negnan_f64
.type negnan_f64,@function
@@ -195,8 +195,8 @@ negnan_f64:
.result f64
f64.const $push0=, -nan
return $pop0
-func_end21:
- .size negnan_f64, func_end21-negnan_f64
+.Lfunc_end21:
+ .size negnan_f64, .Lfunc_end21-negnan_f64
.globl inf_f64
.type inf_f64,@function
@@ -204,8 +204,8 @@ inf_f64:
.result f64
f64.const $push0=, infinity
return $pop0
-func_end22:
- .size inf_f64, func_end22-inf_f64
+.Lfunc_end22:
+ .size inf_f64, .Lfunc_end22-inf_f64
.globl neginf_f64
.type neginf_f64,@function
@@ -213,8 +213,8 @@ neginf_f64:
.result f64
f64.const $push0=, -infinity
return $pop0
-func_end23:
- .size neginf_f64, func_end23-neginf_f64
+.Lfunc_end23:
+ .size neginf_f64, .Lfunc_end23-neginf_f64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/legalize.s b/test/llvm_autogenerated/legalize.s
index 74f1963df..f675652da 100644
--- a/test/llvm_autogenerated/legalize.s
+++ b/test/llvm_autogenerated/legalize.s
@@ -9,8 +9,8 @@ shl_i3:
i32.and $push1=, $1, $pop0
i32.shl $push2=, $0, $pop1
return $pop2
-func_end0:
- .size shl_i3, func_end0-shl_i3
+.Lfunc_end0:
+ .size shl_i3, .Lfunc_end0-shl_i3
.globl shl_i53
.type shl_i53,@function
@@ -21,8 +21,8 @@ shl_i53:
i64.and $push1=, $1, $pop0
i64.shl $push2=, $0, $pop1
return $pop2
-func_end1:
- .size shl_i53, func_end1-shl_i53
+.Lfunc_end1:
+ .size shl_i53, .Lfunc_end1-shl_i53
.globl sext_in_reg_i32_i64
.type sext_in_reg_i32_i64,@function
@@ -34,8 +34,8 @@ sext_in_reg_i32_i64:
i64.shl $push0=, $0, $1
i64.shr_s $push1=, $pop0, $1
return $pop1
-func_end2:
- .size sext_in_reg_i32_i64, func_end2-sext_in_reg_i32_i64
+.Lfunc_end2:
+ .size sext_in_reg_i32_i64, .Lfunc_end2-sext_in_reg_i32_i64
.globl fpext_f32_f64
.type fpext_f32_f64,@function
@@ -45,8 +45,8 @@ fpext_f32_f64:
f32.load $push0=, 0($0)
f64.promote/f32 $push1=, $pop0
return $pop1
-func_end3:
- .size fpext_f32_f64, func_end3-fpext_f32_f64
+.Lfunc_end3:
+ .size fpext_f32_f64, .Lfunc_end3-fpext_f32_f64
.globl fpconv_f64_f32
.type fpconv_f64_f32,@function
@@ -56,8 +56,8 @@ fpconv_f64_f32:
f64.load $push0=, 0($0)
f32.demote/f64 $push1=, $pop0
return $pop1
-func_end4:
- .size fpconv_f64_f32, func_end4-fpconv_f64_f32
+.Lfunc_end4:
+ .size fpconv_f64_f32, .Lfunc_end4-fpconv_f64_f32
.globl bigshift
.type bigshift,@function
@@ -912,8 +912,8 @@ bigshift:
i32.const $183=, __stack_pointer
i32.store $279=, 0($183), $279
return
-func_end5:
- .size bigshift, func_end5-bigshift
+.Lfunc_end5:
+ .size bigshift, .Lfunc_end5-bigshift
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/load-ext.s b/test/llvm_autogenerated/load-ext.s
index 959bdfa55..a7c4e6810 100644
--- a/test/llvm_autogenerated/load-ext.s
+++ b/test/llvm_autogenerated/load-ext.s
@@ -7,8 +7,8 @@ sext_i8_i32:
.result i32
i32.load8_s $push0=, 0($0)
return $pop0
-func_end0:
- .size sext_i8_i32, func_end0-sext_i8_i32
+.Lfunc_end0:
+ .size sext_i8_i32, .Lfunc_end0-sext_i8_i32
.globl zext_i8_i32
.type zext_i8_i32,@function
@@ -17,8 +17,8 @@ zext_i8_i32:
.result i32
i32.load8_u $push0=, 0($0)
return $pop0
-func_end1:
- .size zext_i8_i32, func_end1-zext_i8_i32
+.Lfunc_end1:
+ .size zext_i8_i32, .Lfunc_end1-zext_i8_i32
.globl sext_i16_i32
.type sext_i16_i32,@function
@@ -27,8 +27,8 @@ sext_i16_i32:
.result i32
i32.load16_s $push0=, 0($0)
return $pop0
-func_end2:
- .size sext_i16_i32, func_end2-sext_i16_i32
+.Lfunc_end2:
+ .size sext_i16_i32, .Lfunc_end2-sext_i16_i32
.globl zext_i16_i32
.type zext_i16_i32,@function
@@ -37,8 +37,8 @@ zext_i16_i32:
.result i32
i32.load16_u $push0=, 0($0)
return $pop0
-func_end3:
- .size zext_i16_i32, func_end3-zext_i16_i32
+.Lfunc_end3:
+ .size zext_i16_i32, .Lfunc_end3-zext_i16_i32
.globl sext_i8_i64
.type sext_i8_i64,@function
@@ -47,8 +47,8 @@ sext_i8_i64:
.result i64
i64.load8_s $push0=, 0($0)
return $pop0
-func_end4:
- .size sext_i8_i64, func_end4-sext_i8_i64
+.Lfunc_end4:
+ .size sext_i8_i64, .Lfunc_end4-sext_i8_i64
.globl zext_i8_i64
.type zext_i8_i64,@function
@@ -57,8 +57,8 @@ zext_i8_i64:
.result i64
i64.load8_u $push0=, 0($0)
return $pop0
-func_end5:
- .size zext_i8_i64, func_end5-zext_i8_i64
+.Lfunc_end5:
+ .size zext_i8_i64, .Lfunc_end5-zext_i8_i64
.globl sext_i16_i64
.type sext_i16_i64,@function
@@ -67,8 +67,8 @@ sext_i16_i64:
.result i64
i64.load16_s $push0=, 0($0)
return $pop0
-func_end6:
- .size sext_i16_i64, func_end6-sext_i16_i64
+.Lfunc_end6:
+ .size sext_i16_i64, .Lfunc_end6-sext_i16_i64
.globl zext_i16_i64
.type zext_i16_i64,@function
@@ -77,8 +77,8 @@ zext_i16_i64:
.result i64
i64.load16_u $push0=, 0($0)
return $pop0
-func_end7:
- .size zext_i16_i64, func_end7-zext_i16_i64
+.Lfunc_end7:
+ .size zext_i16_i64, .Lfunc_end7-zext_i16_i64
.globl sext_i32_i64
.type sext_i32_i64,@function
@@ -87,8 +87,8 @@ sext_i32_i64:
.result i64
i64.load32_s $push0=, 0($0)
return $pop0
-func_end8:
- .size sext_i32_i64, func_end8-sext_i32_i64
+.Lfunc_end8:
+ .size sext_i32_i64, .Lfunc_end8-sext_i32_i64
.globl zext_i32_i64
.type zext_i32_i64,@function
@@ -97,8 +97,8 @@ zext_i32_i64:
.result i64
i64.load32_u $push0=, 0($0)
return $pop0
-func_end9:
- .size zext_i32_i64, func_end9-zext_i32_i64
+.Lfunc_end9:
+ .size zext_i32_i64, .Lfunc_end9-zext_i32_i64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/load-store-i1.s b/test/llvm_autogenerated/load-store-i1.s
index bfa013f88..0deb7b440 100644
--- a/test/llvm_autogenerated/load-store-i1.s
+++ b/test/llvm_autogenerated/load-store-i1.s
@@ -7,8 +7,8 @@ load_u_i1_i32:
.result i32
i32.load8_u $push0=, 0($0)
return $pop0
-func_end0:
- .size load_u_i1_i32, func_end0-load_u_i1_i32
+.Lfunc_end0:
+ .size load_u_i1_i32, .Lfunc_end0-load_u_i1_i32
.globl load_s_i1_i32
.type load_s_i1_i32,@function
@@ -21,8 +21,8 @@ load_s_i1_i32:
i32.shl $push1=, $pop0, $1
i32.shr_s $push2=, $pop1, $1
return $pop2
-func_end1:
- .size load_s_i1_i32, func_end1-load_s_i1_i32
+.Lfunc_end1:
+ .size load_s_i1_i32, .Lfunc_end1-load_s_i1_i32
.globl load_u_i1_i64
.type load_u_i1_i64,@function
@@ -31,8 +31,8 @@ load_u_i1_i64:
.result i64
i64.load8_u $push0=, 0($0)
return $pop0
-func_end2:
- .size load_u_i1_i64, func_end2-load_u_i1_i64
+.Lfunc_end2:
+ .size load_u_i1_i64, .Lfunc_end2-load_u_i1_i64
.globl load_s_i1_i64
.type load_s_i1_i64,@function
@@ -45,8 +45,8 @@ load_s_i1_i64:
i64.shl $push1=, $pop0, $1
i64.shr_s $push2=, $pop1, $1
return $pop2
-func_end3:
- .size load_s_i1_i64, func_end3-load_s_i1_i64
+.Lfunc_end3:
+ .size load_s_i1_i64, .Lfunc_end3-load_s_i1_i64
.globl store_i32_i1
.type store_i32_i1,@function
@@ -56,8 +56,8 @@ store_i32_i1:
i32.and $push1=, $1, $pop0
i32.store8 $discard=, 0($0), $pop1
return
-func_end4:
- .size store_i32_i1, func_end4-store_i32_i1
+.Lfunc_end4:
+ .size store_i32_i1, .Lfunc_end4-store_i32_i1
.globl store_i64_i1
.type store_i64_i1,@function
@@ -67,8 +67,8 @@ store_i64_i1:
i64.and $push1=, $1, $pop0
i64.store8 $discard=, 0($0), $pop1
return
-func_end5:
- .size store_i64_i1, func_end5-store_i64_i1
+.Lfunc_end5:
+ .size store_i64_i1, .Lfunc_end5-store_i64_i1
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/load.s b/test/llvm_autogenerated/load.s
index ba00e78b6..98a078c05 100644
--- a/test/llvm_autogenerated/load.s
+++ b/test/llvm_autogenerated/load.s
@@ -7,8 +7,8 @@ ldi32:
.result i32
i32.load $push0=, 0($0)
return $pop0
-func_end0:
- .size ldi32, func_end0-ldi32
+.Lfunc_end0:
+ .size ldi32, .Lfunc_end0-ldi32
.globl ldi64
.type ldi64,@function
@@ -17,8 +17,8 @@ ldi64:
.result i64
i64.load $push0=, 0($0)
return $pop0
-func_end1:
- .size ldi64, func_end1-ldi64
+.Lfunc_end1:
+ .size ldi64, .Lfunc_end1-ldi64
.globl ldf32
.type ldf32,@function
@@ -27,8 +27,8 @@ ldf32:
.result f32
f32.load $push0=, 0($0)
return $pop0
-func_end2:
- .size ldf32, func_end2-ldf32
+.Lfunc_end2:
+ .size ldf32, .Lfunc_end2-ldf32
.globl ldf64
.type ldf64,@function
@@ -37,8 +37,8 @@ ldf64:
.result f64
f64.load $push0=, 0($0)
return $pop0
-func_end3:
- .size ldf64, func_end3-ldf64
+.Lfunc_end3:
+ .size ldf64, .Lfunc_end3-ldf64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/memory-addr32.s b/test/llvm_autogenerated/memory-addr32.s
index 3489a999e..7cc7655bc 100644
--- a/test/llvm_autogenerated/memory-addr32.s
+++ b/test/llvm_autogenerated/memory-addr32.s
@@ -6,8 +6,8 @@ memory_size:
.result i32
memory_size $push0=
return $pop0
-func_end0:
- .size memory_size, func_end0-memory_size
+.Lfunc_end0:
+ .size memory_size, .Lfunc_end0-memory_size
.globl grow_memory
.type grow_memory,@function
@@ -15,8 +15,8 @@ grow_memory:
.param i32
grow_memory $0
return
-func_end1:
- .size grow_memory, func_end1-grow_memory
+.Lfunc_end1:
+ .size grow_memory, .Lfunc_end1-grow_memory
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/memory-addr64.s b/test/llvm_autogenerated/memory-addr64.s
index 3eabbc3ec..8f42acc5e 100644
--- a/test/llvm_autogenerated/memory-addr64.s
+++ b/test/llvm_autogenerated/memory-addr64.s
@@ -6,8 +6,8 @@ memory_size:
.result i64
memory_size $push0=
return $pop0
-func_end0:
- .size memory_size, func_end0-memory_size
+.Lfunc_end0:
+ .size memory_size, .Lfunc_end0-memory_size
.globl grow_memory
.type grow_memory,@function
@@ -15,8 +15,8 @@ grow_memory:
.param i64
grow_memory $0
return
-func_end1:
- .size grow_memory, func_end1-grow_memory
+.Lfunc_end1:
+ .size grow_memory, .Lfunc_end1-grow_memory
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/offset-folding.s b/test/llvm_autogenerated/offset-folding.s
index 9b757b1ea..6c03d5191 100644
--- a/test/llvm_autogenerated/offset-folding.s
+++ b/test/llvm_autogenerated/offset-folding.s
@@ -6,8 +6,8 @@ test0:
.result i32
i32.const $push0=, x+188
return $pop0
-func_end0:
- .size test0, func_end0-test0
+.Lfunc_end0:
+ .size test0, .Lfunc_end0-test0
.globl test1
.type test1,@function
@@ -15,8 +15,8 @@ test1:
.result i32
i32.const $push0=, y+188
return $pop0
-func_end1:
- .size test1, func_end1-test1
+.Lfunc_end1:
+ .size test1, .Lfunc_end1-test1
.globl test2
.type test2,@function
@@ -24,8 +24,8 @@ test2:
.result i32
i32.const $push0=, x
return $pop0
-func_end2:
- .size test2, func_end2-test2
+.Lfunc_end2:
+ .size test2, .Lfunc_end2-test2
.globl test3
.type test3,@function
@@ -33,8 +33,8 @@ test3:
.result i32
i32.const $push0=, y
return $pop0
-func_end3:
- .size test3, func_end3-test3
+.Lfunc_end3:
+ .size test3, .Lfunc_end3-test3
.type x,@object
.bss
diff --git a/test/llvm_autogenerated/offset.s b/test/llvm_autogenerated/offset.s
index 7222c2118..e1252c121 100644
--- a/test/llvm_autogenerated/offset.s
+++ b/test/llvm_autogenerated/offset.s
@@ -7,8 +7,8 @@ load_i32_with_folded_offset:
.result i32
i32.load $push0=, 24($0)
return $pop0
-func_end0:
- .size load_i32_with_folded_offset, func_end0-load_i32_with_folded_offset
+.Lfunc_end0:
+ .size load_i32_with_folded_offset, .Lfunc_end0-load_i32_with_folded_offset
.globl load_i32_with_folded_gep_offset
.type load_i32_with_folded_gep_offset,@function
@@ -17,8 +17,8 @@ load_i32_with_folded_gep_offset:
.result i32
i32.load $push0=, 24($0)
return $pop0
-func_end1:
- .size load_i32_with_folded_gep_offset, func_end1-load_i32_with_folded_gep_offset
+.Lfunc_end1:
+ .size load_i32_with_folded_gep_offset, .Lfunc_end1-load_i32_with_folded_gep_offset
.globl load_i32_with_unfolded_gep_negative_offset
.type load_i32_with_unfolded_gep_negative_offset,@function
@@ -29,8 +29,8 @@ load_i32_with_unfolded_gep_negative_offset:
i32.add $push1=, $0, $pop0
i32.load $push2=, 0($pop1)
return $pop2
-func_end2:
- .size load_i32_with_unfolded_gep_negative_offset, func_end2-load_i32_with_unfolded_gep_negative_offset
+.Lfunc_end2:
+ .size load_i32_with_unfolded_gep_negative_offset, .Lfunc_end2-load_i32_with_unfolded_gep_negative_offset
.globl load_i32_with_unfolded_offset
.type load_i32_with_unfolded_offset,@function
@@ -41,8 +41,8 @@ load_i32_with_unfolded_offset:
i32.add $push1=, $0, $pop0
i32.load $push2=, 0($pop1)
return $pop2
-func_end3:
- .size load_i32_with_unfolded_offset, func_end3-load_i32_with_unfolded_offset
+.Lfunc_end3:
+ .size load_i32_with_unfolded_offset, .Lfunc_end3-load_i32_with_unfolded_offset
.globl load_i32_with_unfolded_gep_offset
.type load_i32_with_unfolded_gep_offset,@function
@@ -53,8 +53,8 @@ load_i32_with_unfolded_gep_offset:
i32.add $push1=, $0, $pop0
i32.load $push2=, 0($pop1)
return $pop2
-func_end4:
- .size load_i32_with_unfolded_gep_offset, func_end4-load_i32_with_unfolded_gep_offset
+.Lfunc_end4:
+ .size load_i32_with_unfolded_gep_offset, .Lfunc_end4-load_i32_with_unfolded_gep_offset
.globl load_i64_with_folded_offset
.type load_i64_with_folded_offset,@function
@@ -63,8 +63,8 @@ load_i64_with_folded_offset:
.result i64
i64.load $push0=, 24($0)
return $pop0
-func_end5:
- .size load_i64_with_folded_offset, func_end5-load_i64_with_folded_offset
+.Lfunc_end5:
+ .size load_i64_with_folded_offset, .Lfunc_end5-load_i64_with_folded_offset
.globl load_i64_with_folded_gep_offset
.type load_i64_with_folded_gep_offset,@function
@@ -73,8 +73,8 @@ load_i64_with_folded_gep_offset:
.result i64
i64.load $push0=, 24($0)
return $pop0
-func_end6:
- .size load_i64_with_folded_gep_offset, func_end6-load_i64_with_folded_gep_offset
+.Lfunc_end6:
+ .size load_i64_with_folded_gep_offset, .Lfunc_end6-load_i64_with_folded_gep_offset
.globl load_i64_with_unfolded_gep_negative_offset
.type load_i64_with_unfolded_gep_negative_offset,@function
@@ -85,8 +85,8 @@ load_i64_with_unfolded_gep_negative_offset:
i32.add $push1=, $0, $pop0
i64.load $push2=, 0($pop1)
return $pop2
-func_end7:
- .size load_i64_with_unfolded_gep_negative_offset, func_end7-load_i64_with_unfolded_gep_negative_offset
+.Lfunc_end7:
+ .size load_i64_with_unfolded_gep_negative_offset, .Lfunc_end7-load_i64_with_unfolded_gep_negative_offset
.globl load_i64_with_unfolded_offset
.type load_i64_with_unfolded_offset,@function
@@ -97,8 +97,8 @@ load_i64_with_unfolded_offset:
i32.add $push1=, $0, $pop0
i64.load $push2=, 0($pop1)
return $pop2
-func_end8:
- .size load_i64_with_unfolded_offset, func_end8-load_i64_with_unfolded_offset
+.Lfunc_end8:
+ .size load_i64_with_unfolded_offset, .Lfunc_end8-load_i64_with_unfolded_offset
.globl load_i64_with_unfolded_gep_offset
.type load_i64_with_unfolded_gep_offset,@function
@@ -109,8 +109,8 @@ load_i64_with_unfolded_gep_offset:
i32.add $push1=, $0, $pop0
i64.load $push2=, 0($pop1)
return $pop2
-func_end9:
- .size load_i64_with_unfolded_gep_offset, func_end9-load_i64_with_unfolded_gep_offset
+.Lfunc_end9:
+ .size load_i64_with_unfolded_gep_offset, .Lfunc_end9-load_i64_with_unfolded_gep_offset
.globl store_i32_with_folded_offset
.type store_i32_with_folded_offset,@function
@@ -119,8 +119,8 @@ store_i32_with_folded_offset:
i32.const $push0=, 0
i32.store $discard=, 24($0), $pop0
return
-func_end10:
- .size store_i32_with_folded_offset, func_end10-store_i32_with_folded_offset
+.Lfunc_end10:
+ .size store_i32_with_folded_offset, .Lfunc_end10-store_i32_with_folded_offset
.globl store_i32_with_folded_gep_offset
.type store_i32_with_folded_gep_offset,@function
@@ -129,8 +129,8 @@ store_i32_with_folded_gep_offset:
i32.const $push0=, 0
i32.store $discard=, 24($0), $pop0
return
-func_end11:
- .size store_i32_with_folded_gep_offset, func_end11-store_i32_with_folded_gep_offset
+.Lfunc_end11:
+ .size store_i32_with_folded_gep_offset, .Lfunc_end11-store_i32_with_folded_gep_offset
.globl store_i32_with_unfolded_gep_negative_offset
.type store_i32_with_unfolded_gep_negative_offset,@function
@@ -141,8 +141,8 @@ store_i32_with_unfolded_gep_negative_offset:
i32.const $push2=, 0
i32.store $discard=, 0($pop1), $pop2
return
-func_end12:
- .size store_i32_with_unfolded_gep_negative_offset, func_end12-store_i32_with_unfolded_gep_negative_offset
+.Lfunc_end12:
+ .size store_i32_with_unfolded_gep_negative_offset, .Lfunc_end12-store_i32_with_unfolded_gep_negative_offset
.globl store_i32_with_unfolded_offset
.type store_i32_with_unfolded_offset,@function
@@ -153,8 +153,8 @@ store_i32_with_unfolded_offset:
i32.const $push2=, 0
i32.store $discard=, 0($pop1), $pop2
return
-func_end13:
- .size store_i32_with_unfolded_offset, func_end13-store_i32_with_unfolded_offset
+.Lfunc_end13:
+ .size store_i32_with_unfolded_offset, .Lfunc_end13-store_i32_with_unfolded_offset
.globl store_i32_with_unfolded_gep_offset
.type store_i32_with_unfolded_gep_offset,@function
@@ -165,8 +165,8 @@ store_i32_with_unfolded_gep_offset:
i32.const $push2=, 0
i32.store $discard=, 0($pop1), $pop2
return
-func_end14:
- .size store_i32_with_unfolded_gep_offset, func_end14-store_i32_with_unfolded_gep_offset
+.Lfunc_end14:
+ .size store_i32_with_unfolded_gep_offset, .Lfunc_end14-store_i32_with_unfolded_gep_offset
.globl store_i64_with_folded_offset
.type store_i64_with_folded_offset,@function
@@ -175,8 +175,8 @@ store_i64_with_folded_offset:
i64.const $push0=, 0
i64.store $discard=, 24($0), $pop0
return
-func_end15:
- .size store_i64_with_folded_offset, func_end15-store_i64_with_folded_offset
+.Lfunc_end15:
+ .size store_i64_with_folded_offset, .Lfunc_end15-store_i64_with_folded_offset
.globl store_i64_with_folded_gep_offset
.type store_i64_with_folded_gep_offset,@function
@@ -185,8 +185,8 @@ store_i64_with_folded_gep_offset:
i64.const $push0=, 0
i64.store $discard=, 24($0), $pop0
return
-func_end16:
- .size store_i64_with_folded_gep_offset, func_end16-store_i64_with_folded_gep_offset
+.Lfunc_end16:
+ .size store_i64_with_folded_gep_offset, .Lfunc_end16-store_i64_with_folded_gep_offset
.globl store_i64_with_unfolded_gep_negative_offset
.type store_i64_with_unfolded_gep_negative_offset,@function
@@ -197,8 +197,8 @@ store_i64_with_unfolded_gep_negative_offset:
i64.const $push2=, 0
i64.store $discard=, 0($pop1), $pop2
return
-func_end17:
- .size store_i64_with_unfolded_gep_negative_offset, func_end17-store_i64_with_unfolded_gep_negative_offset
+.Lfunc_end17:
+ .size store_i64_with_unfolded_gep_negative_offset, .Lfunc_end17-store_i64_with_unfolded_gep_negative_offset
.globl store_i64_with_unfolded_offset
.type store_i64_with_unfolded_offset,@function
@@ -209,8 +209,8 @@ store_i64_with_unfolded_offset:
i64.const $push2=, 0
i64.store $discard=, 0($pop1), $pop2
return
-func_end18:
- .size store_i64_with_unfolded_offset, func_end18-store_i64_with_unfolded_offset
+.Lfunc_end18:
+ .size store_i64_with_unfolded_offset, .Lfunc_end18-store_i64_with_unfolded_offset
.globl store_i64_with_unfolded_gep_offset
.type store_i64_with_unfolded_gep_offset,@function
@@ -221,8 +221,8 @@ store_i64_with_unfolded_gep_offset:
i64.const $push2=, 0
i64.store $discard=, 0($pop1), $pop2
return
-func_end19:
- .size store_i64_with_unfolded_gep_offset, func_end19-store_i64_with_unfolded_gep_offset
+.Lfunc_end19:
+ .size store_i64_with_unfolded_gep_offset, .Lfunc_end19-store_i64_with_unfolded_gep_offset
.globl load_i32_from_numeric_address
.type load_i32_from_numeric_address,@function
@@ -231,8 +231,8 @@ load_i32_from_numeric_address:
i32.const $push0=, 0
i32.load $push1=, 42($pop0)
return $pop1
-func_end20:
- .size load_i32_from_numeric_address, func_end20-load_i32_from_numeric_address
+.Lfunc_end20:
+ .size load_i32_from_numeric_address, .Lfunc_end20-load_i32_from_numeric_address
.globl load_i32_from_global_address
.type load_i32_from_global_address,@function
@@ -241,8 +241,8 @@ load_i32_from_global_address:
i32.const $push0=, 0
i32.load $push1=, gv($pop0)
return $pop1
-func_end21:
- .size load_i32_from_global_address, func_end21-load_i32_from_global_address
+.Lfunc_end21:
+ .size load_i32_from_global_address, .Lfunc_end21-load_i32_from_global_address
.globl store_i32_to_numeric_address
.type store_i32_to_numeric_address,@function
@@ -251,8 +251,8 @@ store_i32_to_numeric_address:
i32.const $0=, 0
i32.store $discard=, 42($0), $0
return
-func_end22:
- .size store_i32_to_numeric_address, func_end22-store_i32_to_numeric_address
+.Lfunc_end22:
+ .size store_i32_to_numeric_address, .Lfunc_end22-store_i32_to_numeric_address
.globl store_i32_to_global_address
.type store_i32_to_global_address,@function
@@ -261,8 +261,8 @@ store_i32_to_global_address:
i32.const $0=, 0
i32.store $discard=, gv($0), $0
return
-func_end23:
- .size store_i32_to_global_address, func_end23-store_i32_to_global_address
+.Lfunc_end23:
+ .size store_i32_to_global_address, .Lfunc_end23-store_i32_to_global_address
.globl load_i8_s_with_folded_offset
.type load_i8_s_with_folded_offset,@function
@@ -271,8 +271,8 @@ load_i8_s_with_folded_offset:
.result i32
i32.load8_s $push0=, 24($0)
return $pop0
-func_end24:
- .size load_i8_s_with_folded_offset, func_end24-load_i8_s_with_folded_offset
+.Lfunc_end24:
+ .size load_i8_s_with_folded_offset, .Lfunc_end24-load_i8_s_with_folded_offset
.globl load_i8_s_with_folded_gep_offset
.type load_i8_s_with_folded_gep_offset,@function
@@ -281,8 +281,8 @@ load_i8_s_with_folded_gep_offset:
.result i32
i32.load8_s $push0=, 24($0)
return $pop0
-func_end25:
- .size load_i8_s_with_folded_gep_offset, func_end25-load_i8_s_with_folded_gep_offset
+.Lfunc_end25:
+ .size load_i8_s_with_folded_gep_offset, .Lfunc_end25-load_i8_s_with_folded_gep_offset
.globl load_i8_u_with_folded_offset
.type load_i8_u_with_folded_offset,@function
@@ -291,8 +291,8 @@ load_i8_u_with_folded_offset:
.result i32
i32.load8_u $push0=, 24($0)
return $pop0
-func_end26:
- .size load_i8_u_with_folded_offset, func_end26-load_i8_u_with_folded_offset
+.Lfunc_end26:
+ .size load_i8_u_with_folded_offset, .Lfunc_end26-load_i8_u_with_folded_offset
.globl load_i8_u_with_folded_gep_offset
.type load_i8_u_with_folded_gep_offset,@function
@@ -301,8 +301,8 @@ load_i8_u_with_folded_gep_offset:
.result i32
i32.load8_u $push0=, 24($0)
return $pop0
-func_end27:
- .size load_i8_u_with_folded_gep_offset, func_end27-load_i8_u_with_folded_gep_offset
+.Lfunc_end27:
+ .size load_i8_u_with_folded_gep_offset, .Lfunc_end27-load_i8_u_with_folded_gep_offset
.globl store_i8_with_folded_offset
.type store_i8_with_folded_offset,@function
@@ -311,8 +311,8 @@ store_i8_with_folded_offset:
i32.const $push0=, 0
i32.store8 $discard=, 24($0), $pop0
return
-func_end28:
- .size store_i8_with_folded_offset, func_end28-store_i8_with_folded_offset
+.Lfunc_end28:
+ .size store_i8_with_folded_offset, .Lfunc_end28-store_i8_with_folded_offset
.globl store_i8_with_folded_gep_offset
.type store_i8_with_folded_gep_offset,@function
@@ -321,8 +321,8 @@ store_i8_with_folded_gep_offset:
i32.const $push0=, 0
i32.store8 $discard=, 24($0), $pop0
return
-func_end29:
- .size store_i8_with_folded_gep_offset, func_end29-store_i8_with_folded_gep_offset
+.Lfunc_end29:
+ .size store_i8_with_folded_gep_offset, .Lfunc_end29-store_i8_with_folded_gep_offset
.globl aggregate_load_store
.type aggregate_load_store,@function
@@ -338,8 +338,8 @@ aggregate_load_store:
i32.store $discard=, 4($1), $3
i32.store $discard=, 0($1), $2
return
-func_end30:
- .size aggregate_load_store, func_end30-aggregate_load_store
+.Lfunc_end30:
+ .size aggregate_load_store, .Lfunc_end30-aggregate_load_store
.globl aggregate_return
.type aggregate_return,@function
@@ -351,8 +351,8 @@ aggregate_return:
i32.store $push3=, 4($0), $pop2
i32.store $discard=, 0($0), $pop3
return
-func_end31:
- .size aggregate_return, func_end31-aggregate_return
+.Lfunc_end31:
+ .size aggregate_return, .Lfunc_end31-aggregate_return
.type gv,@object
.bss
diff --git a/test/llvm_autogenerated/phi.s b/test/llvm_autogenerated/phi.s
index 150336118..d16bd75ac 100644
--- a/test/llvm_autogenerated/phi.s
+++ b/test/llvm_autogenerated/phi.s
@@ -5,16 +5,16 @@
test0:
.param i32
.result i32
- block BB0_2
+ block .LBB0_2
i32.const $push0=, -1
i32.gt_s $push1=, $0, $pop0
- br_if $pop1, BB0_2
+ br_if $pop1, .LBB0_2
i32.const $push2=, 3
i32.div_s $0=, $0, $pop2
-BB0_2:
+.LBB0_2:
return $0
-func_end0:
- .size test0, func_end0-test0
+.Lfunc_end0:
+ .size test0, .Lfunc_end0-test0
.globl test1
.type test1,@function
@@ -26,18 +26,18 @@ test1:
i32.const $3=, 0
copy_local $4=, $2
copy_local $5=, $3
-BB1_1:
- loop BB1_2
+.LBB1_1:
+ loop .LBB1_2
copy_local $1=, $4
copy_local $4=, $3
i32.add $5=, $5, $2
copy_local $3=, $1
i32.lt_s $push0=, $5, $0
- br_if $pop0, BB1_1
-BB1_2:
+ br_if $pop0, .LBB1_1
+.LBB1_2:
return $4
-func_end1:
- .size test1, func_end1-test1
+.Lfunc_end1:
+ .size test1, .Lfunc_end1-test1
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/phi.wast b/test/llvm_autogenerated/phi.wast
index c1f14d530..87b681a04 100644
--- a/test/llvm_autogenerated/phi.wast
+++ b/test/llvm_autogenerated/phi.wast
@@ -5,13 +5,13 @@
(func $test0 (param $$0 i32) (result i32)
(block $fake_return_waka123
(block
- (block $BB0_2
+ (block $.LBB0_2
(br_if
(i32.gt_s
(get_local $$0)
(i32.const -1)
)
- $BB0_2
+ $.LBB0_2
)
(set_local $$0
(i32.div_s
@@ -46,7 +46,7 @@
(set_local $$5
(get_local $$3)
)
- (loop $BB1_2 $BB1_1
+ (loop $.LBB1_2 $.LBB1_1
(block
(set_local $$1
(get_local $$4)
@@ -68,7 +68,7 @@
(get_local $$5)
(get_local $$0)
)
- $BB1_1
+ $.LBB1_1
)
)
)
diff --git a/test/llvm_autogenerated/reg-stackify.s b/test/llvm_autogenerated/reg-stackify.s
index ba37b4fe2..5c684e423 100644
--- a/test/llvm_autogenerated/reg-stackify.s
+++ b/test/llvm_autogenerated/reg-stackify.s
@@ -9,8 +9,8 @@ no0:
i32.const $push0=, 0
i32.store $discard=, 0($0), $pop0
return $1
-func_end0:
- .size no0, func_end0-no0
+.Lfunc_end0:
+ .size no0, .Lfunc_end0-no0
.globl no1
.type no1,@function
@@ -21,8 +21,8 @@ no1:
i32.const $push0=, 0
i32.store $discard=, 0($0), $pop0
return $1
-func_end1:
- .size no1, func_end1-no1
+.Lfunc_end1:
+ .size no1, .Lfunc_end1-no1
.globl yes0
.type yes0,@function
@@ -33,8 +33,8 @@ yes0:
i32.store $discard=, 0($0), $pop1
i32.load $push0=, 0($1)
return $pop0
-func_end2:
- .size yes0, func_end2-yes0
+.Lfunc_end2:
+ .size yes0, .Lfunc_end2-yes0
.globl yes1
.type yes1,@function
@@ -43,8 +43,8 @@ yes1:
.result i32
i32.load $push0=, 0($0)
return $pop0
-func_end3:
- .size yes1, func_end3-yes1
+.Lfunc_end3:
+ .size yes1, .Lfunc_end3-yes1
.globl stack_uses
.type stack_uses,@function
@@ -54,7 +54,7 @@ stack_uses:
.local i32, i32
i32.const $5=, 2
i32.const $4=, 1
- block BB4_2
+ block .LBB4_2
i32.lt_s $push0=, $0, $4
i32.lt_s $push1=, $1, $5
i32.xor $push4=, $pop0, $pop1
@@ -63,13 +63,13 @@ stack_uses:
i32.xor $push5=, $pop2, $pop3
i32.xor $push6=, $pop4, $pop5
i32.ne $push7=, $pop6, $4
- br_if $pop7, BB4_2
+ br_if $pop7, .LBB4_2
i32.const $push8=, 0
return $pop8
-BB4_2:
+.LBB4_2:
return $4
-func_end4:
- .size stack_uses, func_end4-stack_uses
+.Lfunc_end4:
+ .size stack_uses, .Lfunc_end4-stack_uses
.globl multiple_uses
.type multiple_uses,@function
@@ -77,16 +77,16 @@ multiple_uses:
.param i32, i32, i32
.local i32
i32.load $3=, 0($2)
- block BB5_3
+ block .LBB5_3
i32.ge_u $push0=, $3, $1
- br_if $pop0, BB5_3
+ br_if $pop0, .LBB5_3
i32.lt_u $push1=, $3, $0
- br_if $pop1, BB5_3
+ br_if $pop1, .LBB5_3
i32.store $discard=, 0($2), $3
-BB5_3:
+.LBB5_3:
return
-func_end5:
- .size multiple_uses, func_end5-multiple_uses
+.Lfunc_end5:
+ .size multiple_uses, .Lfunc_end5-multiple_uses
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/reg-stackify.wast b/test/llvm_autogenerated/reg-stackify.wast
index 2dbf17a13..60592413c 100644
--- a/test/llvm_autogenerated/reg-stackify.wast
+++ b/test/llvm_autogenerated/reg-stackify.wast
@@ -79,7 +79,7 @@
(set_local $$4
(i32.const 1)
)
- (block $BB4_2
+ (block $.LBB4_2
(br_if
(i32.ne
(i32.xor
@@ -106,7 +106,7 @@
)
(get_local $$4)
)
- $BB4_2
+ $.LBB4_2
)
(br $fake_return_waka123
(i32.const 0)
@@ -127,20 +127,20 @@
(get_local $$2)
)
)
- (block $BB5_3
+ (block $.LBB5_3
(br_if
(i32.ge_u
(get_local $$3)
(get_local $$1)
)
- $BB5_3
+ $.LBB5_3
)
(br_if
(i32.lt_u
(get_local $$3)
(get_local $$0)
)
- $BB5_3
+ $.LBB5_3
)
(i32.store align=4
(get_local $$2)
diff --git a/test/llvm_autogenerated/return-int32.s b/test/llvm_autogenerated/return-int32.s
index 53d8a51fe..ebe7a1af2 100644
--- a/test/llvm_autogenerated/return-int32.s
+++ b/test/llvm_autogenerated/return-int32.s
@@ -6,8 +6,8 @@ return_i32:
.param i32
.result i32
return $0
-func_end0:
- .size return_i32, func_end0-return_i32
+.Lfunc_end0:
+ .size return_i32, .Lfunc_end0-return_i32
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/return-void.s b/test/llvm_autogenerated/return-void.s
index 269b6cd6c..638de33fb 100644
--- a/test/llvm_autogenerated/return-void.s
+++ b/test/llvm_autogenerated/return-void.s
@@ -4,8 +4,8 @@
.type return_void,@function
return_void:
return
-func_end0:
- .size return_void, func_end0-return_void
+.Lfunc_end0:
+ .size return_void, .Lfunc_end0-return_void
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/select.s b/test/llvm_autogenerated/select.s
index 1b2f3a490..fc5c7bac3 100644
--- a/test/llvm_autogenerated/select.s
+++ b/test/llvm_autogenerated/select.s
@@ -7,8 +7,8 @@ select_i32_bool:
.result i32
i32.select $push0=, $0, $1, $2
return $pop0
-func_end0:
- .size select_i32_bool, func_end0-select_i32_bool
+.Lfunc_end0:
+ .size select_i32_bool, .Lfunc_end0-select_i32_bool
.globl select_i32_eq
.type select_i32_eq,@function
@@ -17,8 +17,8 @@ select_i32_eq:
.result i32
i32.select $push0=, $0, $2, $1
return $pop0
-func_end1:
- .size select_i32_eq, func_end1-select_i32_eq
+.Lfunc_end1:
+ .size select_i32_eq, .Lfunc_end1-select_i32_eq
.globl select_i32_ne
.type select_i32_ne,@function
@@ -27,8 +27,8 @@ select_i32_ne:
.result i32
i32.select $push0=, $0, $1, $2
return $pop0
-func_end2:
- .size select_i32_ne, func_end2-select_i32_ne
+.Lfunc_end2:
+ .size select_i32_ne, .Lfunc_end2-select_i32_ne
.globl select_i64_bool
.type select_i64_bool,@function
@@ -37,8 +37,8 @@ select_i64_bool:
.result i64
i64.select $push0=, $0, $1, $2
return $pop0
-func_end3:
- .size select_i64_bool, func_end3-select_i64_bool
+.Lfunc_end3:
+ .size select_i64_bool, .Lfunc_end3-select_i64_bool
.globl select_i64_eq
.type select_i64_eq,@function
@@ -47,8 +47,8 @@ select_i64_eq:
.result i64
i64.select $push0=, $0, $2, $1
return $pop0
-func_end4:
- .size select_i64_eq, func_end4-select_i64_eq
+.Lfunc_end4:
+ .size select_i64_eq, .Lfunc_end4-select_i64_eq
.globl select_i64_ne
.type select_i64_ne,@function
@@ -57,8 +57,8 @@ select_i64_ne:
.result i64
i64.select $push0=, $0, $1, $2
return $pop0
-func_end5:
- .size select_i64_ne, func_end5-select_i64_ne
+.Lfunc_end5:
+ .size select_i64_ne, .Lfunc_end5-select_i64_ne
.globl select_f32_bool
.type select_f32_bool,@function
@@ -67,8 +67,8 @@ select_f32_bool:
.result f32
f32.select $push0=, $0, $1, $2
return $pop0
-func_end6:
- .size select_f32_bool, func_end6-select_f32_bool
+.Lfunc_end6:
+ .size select_f32_bool, .Lfunc_end6-select_f32_bool
.globl select_f32_eq
.type select_f32_eq,@function
@@ -77,8 +77,8 @@ select_f32_eq:
.result f32
f32.select $push0=, $0, $2, $1
return $pop0
-func_end7:
- .size select_f32_eq, func_end7-select_f32_eq
+.Lfunc_end7:
+ .size select_f32_eq, .Lfunc_end7-select_f32_eq
.globl select_f32_ne
.type select_f32_ne,@function
@@ -87,8 +87,8 @@ select_f32_ne:
.result f32
f32.select $push0=, $0, $1, $2
return $pop0
-func_end8:
- .size select_f32_ne, func_end8-select_f32_ne
+.Lfunc_end8:
+ .size select_f32_ne, .Lfunc_end8-select_f32_ne
.globl select_f64_bool
.type select_f64_bool,@function
@@ -97,8 +97,8 @@ select_f64_bool:
.result f64
f64.select $push0=, $0, $1, $2
return $pop0
-func_end9:
- .size select_f64_bool, func_end9-select_f64_bool
+.Lfunc_end9:
+ .size select_f64_bool, .Lfunc_end9-select_f64_bool
.globl select_f64_eq
.type select_f64_eq,@function
@@ -107,8 +107,8 @@ select_f64_eq:
.result f64
f64.select $push0=, $0, $2, $1
return $pop0
-func_end10:
- .size select_f64_eq, func_end10-select_f64_eq
+.Lfunc_end10:
+ .size select_f64_eq, .Lfunc_end10-select_f64_eq
.globl select_f64_ne
.type select_f64_ne,@function
@@ -117,8 +117,8 @@ select_f64_ne:
.result f64
f64.select $push0=, $0, $1, $2
return $pop0
-func_end11:
- .size select_f64_ne, func_end11-select_f64_ne
+.Lfunc_end11:
+ .size select_f64_ne, .Lfunc_end11-select_f64_ne
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/signext-zeroext.s b/test/llvm_autogenerated/signext-zeroext.s
index 966b02387..eadac8294 100644
--- a/test/llvm_autogenerated/signext-zeroext.s
+++ b/test/llvm_autogenerated/signext-zeroext.s
@@ -10,8 +10,8 @@ z2s_func:
i32.shl $push0=, $0, $1
i32.shr_s $push1=, $pop0, $1
return $pop1
-func_end0:
- .size z2s_func, func_end0-z2s_func
+.Lfunc_end0:
+ .size z2s_func, .Lfunc_end0-z2s_func
.globl s2z_func
.type s2z_func,@function
@@ -21,8 +21,8 @@ s2z_func:
i32.const $push0=, 255
i32.and $push1=, $0, $pop0
return $pop1
-func_end1:
- .size s2z_func, func_end1-s2z_func
+.Lfunc_end1:
+ .size s2z_func, .Lfunc_end1-s2z_func
.globl z2s_call
.type z2s_call,@function
@@ -33,8 +33,8 @@ z2s_call:
i32.and $push1=, $0, $pop0
i32.call $push2=, z2s_func, $pop1
return $pop2
-func_end2:
- .size z2s_call, func_end2-z2s_call
+.Lfunc_end2:
+ .size z2s_call, .Lfunc_end2-z2s_call
.globl s2z_call
.type s2z_call,@function
@@ -49,8 +49,8 @@ s2z_call:
i32.shl $push3=, $pop2, $1
i32.shr_s $push4=, $pop3, $1
return $pop4
-func_end3:
- .size s2z_call, func_end3-s2z_call
+.Lfunc_end3:
+ .size s2z_call, .Lfunc_end3-s2z_call
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/store-results.s b/test/llvm_autogenerated/store-results.s
index 7241f76c1..563ec01e1 100644
--- a/test/llvm_autogenerated/store-results.s
+++ b/test/llvm_autogenerated/store-results.s
@@ -8,8 +8,8 @@ single_block:
i32.const $push0=, 0
i32.store $push1=, 0($0), $pop0
return $pop1
-func_end0:
- .size single_block, func_end0-single_block
+.Lfunc_end0:
+ .size single_block, .Lfunc_end0-single_block
.globl foo
.type foo,@function
@@ -17,18 +17,18 @@ foo:
.local i32, i32
i32.const $0=, 0
copy_local $1=, $0
-BB1_1:
- loop BB1_2
+.LBB1_1:
+ loop .LBB1_2
i32.const $push0=, 1
i32.add $1=, $1, $pop0
i32.store $discard=, pos($0), $0
i32.const $push1=, 256
i32.ne $push2=, $1, $pop1
- br_if $pop2, BB1_1
-BB1_2:
+ br_if $pop2, .LBB1_1
+.LBB1_2:
return
-func_end1:
- .size foo, func_end1-foo
+.Lfunc_end1:
+ .size foo, .Lfunc_end1-foo
.globl bar
.type bar,@function
@@ -36,18 +36,18 @@ bar:
.local i32, f32
f32.const $1=, 0x0p0
i32.const $0=, 0
-BB2_1:
- loop BB2_2
+.LBB2_1:
+ loop .LBB2_2
i32.store $discard=, pos($0), $0
f32.const $push0=, 0x1p0
f32.add $1=, $1, $pop0
f32.const $push1=, 0x1p8
f32.ne $push2=, $1, $pop1
- br_if $pop2, BB2_1
-BB2_2:
+ br_if $pop2, .LBB2_1
+.LBB2_2:
return
-func_end2:
- .size bar, func_end2-bar
+.Lfunc_end2:
+ .size bar, .Lfunc_end2-bar
.type pos,@object
.bss
diff --git a/test/llvm_autogenerated/store-results.wast b/test/llvm_autogenerated/store-results.wast
index d4f73baff..36d9a03e3 100644
--- a/test/llvm_autogenerated/store-results.wast
+++ b/test/llvm_autogenerated/store-results.wast
@@ -26,7 +26,7 @@
(set_local $$1
(get_local $$0)
)
- (loop $BB1_2 $BB1_1
+ (loop $.LBB1_2 $.LBB1_1
(block
(set_local $$1
(i32.add
@@ -43,7 +43,7 @@
(get_local $$1)
(i32.const 256)
)
- $BB1_1
+ $.LBB1_1
)
)
)
@@ -62,7 +62,7 @@
(set_local $$0
(i32.const 0)
)
- (loop $BB2_2 $BB2_1
+ (loop $.LBB2_2 $.LBB2_1
(block
(i32.store offset=4 align=4
(get_local $$0)
@@ -79,7 +79,7 @@
(get_local $$1)
(f32.const 256)
)
- $BB2_1
+ $.LBB2_1
)
)
)
diff --git a/test/llvm_autogenerated/store-trunc.s b/test/llvm_autogenerated/store-trunc.s
index 2940a2a71..fd5e43b71 100644
--- a/test/llvm_autogenerated/store-trunc.s
+++ b/test/llvm_autogenerated/store-trunc.s
@@ -6,8 +6,8 @@ trunc_i8_i32:
.param i32, i32
i32.store8 $discard=, 0($0), $1
return
-func_end0:
- .size trunc_i8_i32, func_end0-trunc_i8_i32
+.Lfunc_end0:
+ .size trunc_i8_i32, .Lfunc_end0-trunc_i8_i32
.globl trunc_i16_i32
.type trunc_i16_i32,@function
@@ -15,8 +15,8 @@ trunc_i16_i32:
.param i32, i32
i32.store16 $discard=, 0($0), $1
return
-func_end1:
- .size trunc_i16_i32, func_end1-trunc_i16_i32
+.Lfunc_end1:
+ .size trunc_i16_i32, .Lfunc_end1-trunc_i16_i32
.globl trunc_i8_i64
.type trunc_i8_i64,@function
@@ -24,8 +24,8 @@ trunc_i8_i64:
.param i32, i64
i64.store8 $discard=, 0($0), $1
return
-func_end2:
- .size trunc_i8_i64, func_end2-trunc_i8_i64
+.Lfunc_end2:
+ .size trunc_i8_i64, .Lfunc_end2-trunc_i8_i64
.globl trunc_i16_i64
.type trunc_i16_i64,@function
@@ -33,8 +33,8 @@ trunc_i16_i64:
.param i32, i64
i64.store16 $discard=, 0($0), $1
return
-func_end3:
- .size trunc_i16_i64, func_end3-trunc_i16_i64
+.Lfunc_end3:
+ .size trunc_i16_i64, .Lfunc_end3-trunc_i16_i64
.globl trunc_i32_i64
.type trunc_i32_i64,@function
@@ -42,8 +42,8 @@ trunc_i32_i64:
.param i32, i64
i64.store32 $discard=, 0($0), $1
return
-func_end4:
- .size trunc_i32_i64, func_end4-trunc_i32_i64
+.Lfunc_end4:
+ .size trunc_i32_i64, .Lfunc_end4-trunc_i32_i64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/store.s b/test/llvm_autogenerated/store.s
index ab5b90af0..9e66aea62 100644
--- a/test/llvm_autogenerated/store.s
+++ b/test/llvm_autogenerated/store.s
@@ -6,8 +6,8 @@ sti32:
.param i32, i32
i32.store $discard=, 0($0), $1
return
-func_end0:
- .size sti32, func_end0-sti32
+.Lfunc_end0:
+ .size sti32, .Lfunc_end0-sti32
.globl sti64
.type sti64,@function
@@ -15,8 +15,8 @@ sti64:
.param i32, i64
i64.store $discard=, 0($0), $1
return
-func_end1:
- .size sti64, func_end1-sti64
+.Lfunc_end1:
+ .size sti64, .Lfunc_end1-sti64
.globl stf32
.type stf32,@function
@@ -24,8 +24,8 @@ stf32:
.param i32, f32
f32.store $discard=, 0($0), $1
return
-func_end2:
- .size stf32, func_end2-stf32
+.Lfunc_end2:
+ .size stf32, .Lfunc_end2-stf32
.globl stf64
.type stf64,@function
@@ -33,8 +33,8 @@ stf64:
.param i32, f64
f64.store $discard=, 0($0), $1
return
-func_end3:
- .size stf64, func_end3-stf64
+.Lfunc_end3:
+ .size stf64, .Lfunc_end3-stf64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/switch.s b/test/llvm_autogenerated/switch.s
index 38cadc71b..635d453c5 100644
--- a/test/llvm_autogenerated/switch.s
+++ b/test/llvm_autogenerated/switch.s
@@ -4,76 +4,76 @@
.type bar32,@function
bar32:
.param i32
- block BB0_8
+ block .LBB0_8
i32.const $push0=, 23
i32.gt_u $push1=, $0, $pop0
- br_if $pop1, BB0_8
- block BB0_7
- block BB0_6
- block BB0_5
- block BB0_4
- block BB0_3
- block BB0_2
- tableswitch $0, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_4, BB0_4, BB0_4, BB0_4, BB0_4, BB0_4, BB0_5, BB0_6, BB0_7
-BB0_2:
+ br_if $pop1, .LBB0_8
+ block .LBB0_7
+ block .LBB0_6
+ block .LBB0_5
+ block .LBB0_4
+ block .LBB0_3
+ block .LBB0_2
+ tableswitch $0, .LBB0_2, .LBB0_2, .LBB0_2, .LBB0_2, .LBB0_2, .LBB0_2, .LBB0_2, .LBB0_2, .LBB0_3, .LBB0_3, .LBB0_3, .LBB0_3, .LBB0_3, .LBB0_3, .LBB0_3, .LBB0_3, .LBB0_4, .LBB0_4, .LBB0_4, .LBB0_4, .LBB0_4, .LBB0_4, .LBB0_5, .LBB0_6, .LBB0_7
+.LBB0_2:
call foo0
- br BB0_8
-BB0_3:
+ br .LBB0_8
+.LBB0_3:
call foo1
- br BB0_8
-BB0_4:
+ br .LBB0_8
+.LBB0_4:
call foo2
- br BB0_8
-BB0_5:
+ br .LBB0_8
+.LBB0_5:
call foo3
- br BB0_8
-BB0_6:
+ br .LBB0_8
+.LBB0_6:
call foo4
- br BB0_8
-BB0_7:
+ br .LBB0_8
+.LBB0_7:
call foo5
-BB0_8:
+.LBB0_8:
return
-func_end0:
- .size bar32, func_end0-bar32
+.Lfunc_end0:
+ .size bar32, .Lfunc_end0-bar32
.globl bar64
.type bar64,@function
bar64:
.param i64
- block BB1_8
+ block .LBB1_8
i64.const $push1=, 23
i64.gt_u $push2=, $0, $pop1
- br_if $pop2, BB1_8
- block BB1_7
- block BB1_6
- block BB1_5
- block BB1_4
- block BB1_3
- block BB1_2
+ br_if $pop2, .LBB1_8
+ block .LBB1_7
+ block .LBB1_6
+ block .LBB1_5
+ block .LBB1_4
+ block .LBB1_3
+ block .LBB1_2
i32.wrap/i64 $push0=, $0
- tableswitch $pop0, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_4, BB1_4, BB1_4, BB1_4, BB1_4, BB1_4, BB1_5, BB1_6, BB1_7
-BB1_2:
+ tableswitch $pop0, .LBB1_2, .LBB1_2, .LBB1_2, .LBB1_2, .LBB1_2, .LBB1_2, .LBB1_2, .LBB1_2, .LBB1_3, .LBB1_3, .LBB1_3, .LBB1_3, .LBB1_3, .LBB1_3, .LBB1_3, .LBB1_3, .LBB1_4, .LBB1_4, .LBB1_4, .LBB1_4, .LBB1_4, .LBB1_4, .LBB1_5, .LBB1_6, .LBB1_7
+.LBB1_2:
call foo0
- br BB1_8
-BB1_3:
+ br .LBB1_8
+.LBB1_3:
call foo1
- br BB1_8
-BB1_4:
+ br .LBB1_8
+.LBB1_4:
call foo2
- br BB1_8
-BB1_5:
+ br .LBB1_8
+.LBB1_5:
call foo3
- br BB1_8
-BB1_6:
+ br .LBB1_8
+.LBB1_6:
call foo4
- br BB1_8
-BB1_7:
+ br .LBB1_8
+.LBB1_7:
call foo5
-BB1_8:
+.LBB1_8:
return
-func_end1:
- .size bar64, func_end1-bar64
+.Lfunc_end1:
+ .size bar64, .Lfunc_end1-bar64
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/switch.wast b/test/llvm_autogenerated/switch.wast
index 34676d082..69d6db9f1 100644
--- a/test/llvm_autogenerated/switch.wast
+++ b/test/llvm_autogenerated/switch.wast
@@ -11,39 +11,39 @@
(func $bar32 (param $$0 i32)
(block $fake_return_waka123
(block
- (block $BB0_8
+ (block $.LBB0_8
(br_if
(i32.gt_u
(get_local $$0)
(i32.const 23)
)
- $BB0_8
+ $.LBB0_8
)
- (block $BB0_7
- (block $BB0_6
- (block $BB0_5
- (block $BB0_4
- (block $BB0_3
- (block $BB0_2
+ (block $.LBB0_7
+ (block $.LBB0_6
+ (block $.LBB0_5
+ (block $.LBB0_4
+ (block $.LBB0_3
+ (block $.LBB0_2
(tableswitch
(get_local $$0)
- (table (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_5) (br $BB0_6) (br $BB0_7)) (br $BB0_2)
+ (table (br $.LBB0_2) (br $.LBB0_2) (br $.LBB0_2) (br $.LBB0_2) (br $.LBB0_2) (br $.LBB0_2) (br $.LBB0_2) (br $.LBB0_3) (br $.LBB0_3) (br $.LBB0_3) (br $.LBB0_3) (br $.LBB0_3) (br $.LBB0_3) (br $.LBB0_3) (br $.LBB0_3) (br $.LBB0_4) (br $.LBB0_4) (br $.LBB0_4) (br $.LBB0_4) (br $.LBB0_4) (br $.LBB0_4) (br $.LBB0_5) (br $.LBB0_6) (br $.LBB0_7)) (br $.LBB0_2)
)
)
(call_import $foo0)
- (br $BB0_8)
+ (br $.LBB0_8)
)
(call_import $foo1)
- (br $BB0_8)
+ (br $.LBB0_8)
)
(call_import $foo2)
- (br $BB0_8)
+ (br $.LBB0_8)
)
(call_import $foo3)
- (br $BB0_8)
+ (br $.LBB0_8)
)
(call_import $foo4)
- (br $BB0_8)
+ (br $.LBB0_8)
)
(call_import $foo5)
)
@@ -54,41 +54,41 @@
(func $bar64 (param $$0 i64)
(block $fake_return_waka123
(block
- (block $BB1_8
+ (block $.LBB1_8
(br_if
(i64.gt_u
(get_local $$0)
(i64.const 23)
)
- $BB1_8
+ $.LBB1_8
)
- (block $BB1_7
- (block $BB1_6
- (block $BB1_5
- (block $BB1_4
- (block $BB1_3
- (block $BB1_2
+ (block $.LBB1_7
+ (block $.LBB1_6
+ (block $.LBB1_5
+ (block $.LBB1_4
+ (block $.LBB1_3
+ (block $.LBB1_2
(tableswitch
(i32.wrap/i64
(get_local $$0)
)
- (table (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_5) (br $BB1_6) (br $BB1_7)) (br $BB1_2)
+ (table (br $.LBB1_2) (br $.LBB1_2) (br $.LBB1_2) (br $.LBB1_2) (br $.LBB1_2) (br $.LBB1_2) (br $.LBB1_2) (br $.LBB1_3) (br $.LBB1_3) (br $.LBB1_3) (br $.LBB1_3) (br $.LBB1_3) (br $.LBB1_3) (br $.LBB1_3) (br $.LBB1_3) (br $.LBB1_4) (br $.LBB1_4) (br $.LBB1_4) (br $.LBB1_4) (br $.LBB1_4) (br $.LBB1_4) (br $.LBB1_5) (br $.LBB1_6) (br $.LBB1_7)) (br $.LBB1_2)
)
)
(call_import $foo0)
- (br $BB1_8)
+ (br $.LBB1_8)
)
(call_import $foo1)
- (br $BB1_8)
+ (br $.LBB1_8)
)
(call_import $foo2)
- (br $BB1_8)
+ (br $.LBB1_8)
)
(call_import $foo3)
- (br $BB1_8)
+ (br $.LBB1_8)
)
(call_import $foo4)
- (br $BB1_8)
+ (br $.LBB1_8)
)
(call_import $foo5)
)
diff --git a/test/llvm_autogenerated/unreachable.s b/test/llvm_autogenerated/unreachable.s
index 4ca6e5585..bd5f85df6 100644
--- a/test/llvm_autogenerated/unreachable.s
+++ b/test/llvm_autogenerated/unreachable.s
@@ -6,24 +6,24 @@ f1:
.result i32
call abort
unreachable
-func_end0:
- .size f1, func_end0-f1
+.Lfunc_end0:
+ .size f1, .Lfunc_end0-f1
.globl f2
.type f2,@function
f2:
unreachable
return
-func_end1:
- .size f2, func_end1-f2
+.Lfunc_end1:
+ .size f2, .Lfunc_end1-f2
.globl f3
.type f3,@function
f3:
unreachable
return
-func_end2:
- .size f3, func_end2-f3
+.Lfunc_end2:
+ .size f3, .Lfunc_end2-f3
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/unused-argument.s b/test/llvm_autogenerated/unused-argument.s
index b0024df5a..97d72ee2c 100644
--- a/test/llvm_autogenerated/unused-argument.s
+++ b/test/llvm_autogenerated/unused-argument.s
@@ -6,8 +6,8 @@ unused_first:
.param i32, i32
.result i32
return $1
-func_end0:
- .size unused_first, func_end0-unused_first
+.Lfunc_end0:
+ .size unused_first, .Lfunc_end0-unused_first
.globl unused_second
.type unused_second,@function
@@ -15,16 +15,16 @@ unused_second:
.param i32, i32
.result i32
return $0
-func_end1:
- .size unused_second, func_end1-unused_second
+.Lfunc_end1:
+ .size unused_second, .Lfunc_end1-unused_second
.globl call_something
.type call_something,@function
call_something:
i32.call $discard=, return_something
return
-func_end2:
- .size call_something, func_end2-call_something
+.Lfunc_end2:
+ .size call_something, .Lfunc_end2-call_something
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/userstack.s b/test/llvm_autogenerated/userstack.s
index de7af37f2..f3ae1cbca 100644
--- a/test/llvm_autogenerated/userstack.s
+++ b/test/llvm_autogenerated/userstack.s
@@ -17,8 +17,8 @@ alloca32:
i32.const $2=, __stack_pointer
i32.store $3=, 0($2), $3
return
-func_end0:
- .size alloca32, func_end0-alloca32
+.Lfunc_end0:
+ .size alloca32, .Lfunc_end0-alloca32
.globl alloca3264
.type alloca3264,@function
@@ -39,8 +39,8 @@ alloca3264:
i32.const $2=, __stack_pointer
i32.store $3=, 0($2), $3
return
-func_end1:
- .size alloca3264, func_end1-alloca3264
+.Lfunc_end1:
+ .size alloca3264, .Lfunc_end1-alloca3264
.globl allocarray
.type allocarray,@function
@@ -64,16 +64,16 @@ allocarray:
i32.const $3=, __stack_pointer
i32.store $5=, 0($3), $5
return
-func_end2:
- .size allocarray, func_end2-allocarray
+.Lfunc_end2:
+ .size allocarray, .Lfunc_end2-allocarray
.globl dynamic_alloca
.type dynamic_alloca,@function
dynamic_alloca:
.param i32
return
-func_end3:
- .size dynamic_alloca, func_end3-dynamic_alloca
+.Lfunc_end3:
+ .size dynamic_alloca, .Lfunc_end3-dynamic_alloca
.section ".note.GNU-stack","",@progbits
diff --git a/test/llvm_autogenerated/varargs.s b/test/llvm_autogenerated/varargs.s
index 4a1316816..5159dadca 100644
--- a/test/llvm_autogenerated/varargs.s
+++ b/test/llvm_autogenerated/varargs.s
@@ -5,8 +5,8 @@
end:
.param i32
return
-func_end0:
- .size end, func_end0-end
+.Lfunc_end0:
+ .size end, .Lfunc_end0-end
.globl copy
.type copy,@function
@@ -15,8 +15,8 @@ copy:
i32.load $push0=, 0($1)
i32.store $discard=, 0($0), $pop0
return
-func_end1:
- .size copy, func_end1-copy
+.Lfunc_end1:
+ .size copy, .Lfunc_end1-copy
.globl arg_i8
.type arg_i8,@function
@@ -30,8 +30,8 @@ arg_i8:
i32.store $discard=, 0($0), $pop1
i32.load $push2=, 0($1)
return $pop2
-func_end2:
- .size arg_i8, func_end2-arg_i8
+.Lfunc_end2:
+ .size arg_i8, .Lfunc_end2-arg_i8
.globl arg_i32
.type arg_i32,@function
@@ -49,8 +49,8 @@ arg_i32:
i32.store $discard=, 0($0), $pop5
i32.load $push6=, 0($1)
return $pop6
-func_end3:
- .size arg_i32, func_end3-arg_i32
+.Lfunc_end3:
+ .size arg_i32, .Lfunc_end3-arg_i32
.globl arg_i128
.type arg_i128,@function
@@ -74,23 +74,23 @@ arg_i128:
i64.store $discard=, 0($pop8), $pop7
i64.store $discard=, 0($0), $5
return
-func_end4:
- .size arg_i128, func_end4-arg_i128
+.Lfunc_end4:
+ .size arg_i128, .Lfunc_end4-arg_i128
.globl caller_none
.type caller_none,@function
caller_none:
call callee
return
-func_end5:
- .size caller_none, func_end5-caller_none
+.Lfunc_end5:
+ .size caller_none, .Lfunc_end5-caller_none
.globl caller_some
.type caller_some,@function
caller_some:
return
-func_end6:
- .size caller_some, func_end6-caller_some
+.Lfunc_end6:
+ .size caller_some, .Lfunc_end6-caller_some
.section ".note.GNU-stack","",@progbits