mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Changed generic modules to internal templates.
This commit is contained in:
committed by
Christoffer Lerno
parent
b99f8d644b
commit
892c7e8874
@@ -14,11 +14,11 @@ func void test1()
|
||||
|
||||
// #expect: test.ll
|
||||
|
||||
%test.Point = type { i32, i32 }
|
||||
%Point = type { i32, i32 }
|
||||
@Point = linkonce_odr constant i8 1
|
||||
|
||||
entry:
|
||||
%p = alloca %test.Point, align 4
|
||||
%0 = bitcast %test.Point* %p to i8*
|
||||
call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 4 %0, i8* align 4 bitcast (%test.Point* @.__const to i8*), i32 8, i1 false)
|
||||
%p = alloca %Point, align 4
|
||||
%0 = bitcast %Point* %p to i8*
|
||||
call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 4 %0, i8* align 4 bitcast (%Point* @.__const to i8*), i32 8, i1 false)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user