authorgravatar for jacobly@ziglang.orgJacob Young <jacobly@ziglang.org> 2023-08-19 04:45:05-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-08-20 12:40:34-07:00
log4ac20f69acd446e6d9ac59f1fc4172147c05559e
tree06759e2ef15cdb58bda051fe0ca17f013ba41f6b
parent3e1b676ac14efd70f0e8af95bf742bf9625b28e3

Revert "llvm: fix bootstrap"

This reverts commit ea72fea1a4e2bc8309c211308f49f7f2c38507be.

1 files changed, 4 insertions(+), 4 deletions(-)

src/codegen/llvm/Builder.zig+4-4
......@@ -10092,8 +10092,8 @@ fn vectorTypeAssumeCapacity(
1009210092 .data = self.addTypeExtraAssumeCapacity(data),
1009310093 });
1009410094 if (self.useLibLlvm()) self.llvm.types.appendAssumeCapacity(switch (kind) {
10095 .normal => llvm.Type.vectorType,
10096 .scalable => llvm.Type.scalableVectorType,
10095 .normal => &llvm.Type.vectorType,
10096 .scalable => &llvm.Type.scalableVectorType,
1009710097 }(child.toLlvm(self), @intCast(len)));
1009810098 }
1009910099 return @enumFromInt(gop.index);
......@@ -11274,8 +11274,8 @@ fn gepConstAssumeCapacity(
1127411274 for (llvm_indices, indices) |*llvm_index, index| llvm_index.* = index.toLlvm(self);
1127511275
1127611276 self.llvm.constants.appendAssumeCapacity(switch (kind) {
11277 .normal => llvm.Type.constGEP,
11278 .inbounds => llvm.Type.constInBoundsGEP,
11277 .normal => &llvm.Type.constGEP,
11278 .inbounds => &llvm.Type.constInBoundsGEP,
1127911279 }(ty.toLlvm(self), base.toLlvm(self), llvm_indices.ptr, @intCast(llvm_indices.len)));
1128011280 }
1128111281 }