mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 08:33:06 +00:00
disable regressed wasm32 behavior tests from LLVM 14
This commit is contained in:
parent
fc7c0e07be
commit
e8ce1728e9
@ -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");
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user