disable regressed wasm32 behavior tests from LLVM 14

This commit is contained in:
Andrew Kelley 2022-07-05 15:46:12 -07:00
parent fc7c0e07be
commit e8ce1728e9
3 changed files with 21 additions and 0 deletions

View File

@ -177,6 +177,15 @@ test {
{
_ = @import("behavior/bugs/11227.zig");
_ = @import("behavior/export.zig");
}
if (builtin.zig_backend != .stage2_arm and
builtin.zig_backend != .stage2_x86_64 and
builtin.zig_backend != .stage2_aarch64 and
builtin.zig_backend != .stage2_wasm and
builtin.zig_backend != .stage2_c and
builtin.zig_backend != .stage1)
{
_ = @import("behavior/export_self_referential_type_info.zig");
}
}

View File

@ -796,6 +796,10 @@ test "auto created variables have correct alignment" {
}
test "extern variable with non-pointer opaque type" {
if (builtin.zig_backend == .stage1) {
// Regressed with LLVM 14
return error.SkipZigTest;
}
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO

View File

@ -608,6 +608,14 @@ test "128-bit multiplication" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if ((builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) and
builtin.cpu.arch == .wasm32)
{
// TODO This regressed with LLVM 14 due to the __muloti4 compiler-rt symbol
// being lowered to call itself despite having the "nobuiltin" attribute.
return error.SkipZigTest;
}
var a: i128 = 3;
var b: i128 = 2;
var c = a * b;