aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-07-05 15:46:12 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-07-05 15:46:12 -0700
commite8ce1728e98bbdf4a13b2a2a3a87f5b2c32d26dd (patch)
tree74e83782c75cf054ee6522a37c2bc98e770ba7ec /test/behavior/math.zig
parentfc7c0e07be010d701e7098cbeb9d34c915b66e7b (diff)
downloadzig-e8ce1728e98bbdf4a13b2a2a3a87f5b2c32d26dd.tar.gz
zig-e8ce1728e98bbdf4a13b2a2a3a87f5b2c32d26dd.zip
disable regressed wasm32 behavior tests from LLVM 14
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 2b10996bfb..b2d03967c4 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -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;