Updated mangling and bump to 0.2.18

This commit is contained in:
Christoffer Lerno
2022-07-19 21:44:02 +02:00
committed by Christoffer Lerno
parent 4afec24434
commit d3a053e049
393 changed files with 2811 additions and 2768 deletions

View File

@@ -10,15 +10,15 @@ fn void main()
/* #expect: foo.ll
@"std::math.DIV_1_SQRT2" = external global double
@std_math_DIV_1_SQRT2 = external global double
define void @foo.main() #0 {
define void @foo_main() #0 {
entry:
%foekf = alloca i8*, align 8
%xok = alloca double*, align 8
store i8* bitcast (double (double)* @"std::math.log" to i8*), i8** %foekf, align 8
store double* @"std::math.DIV_1_SQRT2", double** %xok, align 8
store i8* bitcast (double (double)* @std_math_log to i8*), i8** %foekf, align 8
store double* @std_math_DIV_1_SQRT2, double** %xok, align 8
ret void
}
declare double @"std::math.log"(double)
declare double @std_math_log(double)