@@ -39,7 +39,6 @@ target triple = "@CFG_LLVM_TRIPLE@"
39
39
%class.context = type { %struct.registers_t, %class.context* }
40
40
%struct.registers_t = type { i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i16, i16, i16, i16, i32, i32 }
41
41
%"class.rust_task::wakeup_callback" = type { i32 (...)** }
42
- %struct.rust_vec = type { %struct.rc_base.5, i32, i32, i32, [0 x i8] }
43
42
%struct.rc_base.5 = type { i32 }
44
43
%struct.rust_ivec = type { i32, i32, %union.rust_ivec_payload }
45
44
%union.rust_ivec_payload = type { %struct.rust_ivec_heap* }
@@ -54,17 +53,6 @@ target triple = "@CFG_LLVM_TRIPLE@"
54
53
@.str = private unnamed_addr constant [42 x i8] c"attempt to cast values of differing sizes\00", align 1
55
54
@.str1 = private unnamed_addr constant [15 x i8] c"intrinsics.cpp\00", align 1
56
55
57
- define linkonce_odr void @rust_intrinsic_vec_len(%struct.rust_task* nocapture %task, i32* nocapture %retptr, %struct.type_desc* nocapture %ty, %struct.rust_vec* nocapture %v) nounwind {
58
- entry:
59
- %fill = getelementptr inbounds %struct.rust_vec* %v, i32 0, i32 2
60
- %tmp1 = load i32* %fill, align 4, !tbaa !0
61
- %size = getelementptr inbounds %struct.type_desc* %ty, i32 0, i32 1
62
- %tmp3 = load i32* %size, align 4, !tbaa !0
63
- %div = udiv i32 %tmp1, %tmp3
64
- store i32 %div, i32* %retptr, align 4, !tbaa !0
65
- ret void
66
- }
67
-
68
56
define linkonce_odr void @rust_intrinsic_ivec_len(%struct.rust_task* nocapture %task, i32* nocapture %retptr, %struct.type_desc* nocapture %ty, %struct.rust_ivec* nocapture %v) nounwind {
69
57
entry:
70
58
%fill1 = getelementptr inbounds %struct.rust_ivec* %v, i32 0, i32 0
0 commit comments