aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/slice.zig
diff options
context:
space:
mode:
authorjoachimschmidt557 <joachim.schmidt557@outlook.com>2022-03-04 19:19:26 +0100
committerJoachim Schmidt <joachim.schmidt557@outlook.com>2022-03-04 23:28:14 +0100
commitd486a7b81188ea1e027334c81589157efde2ad23 (patch)
tree364b3c5bd98adfd2650b292f8e67c52c0cb45dba /test/behavior/slice.zig
parent7605166426527c7d169ecad89d8de6799935f5ca (diff)
downloadzig-d486a7b81188ea1e027334c81589157efde2ad23.tar.gz
zig-d486a7b81188ea1e027334c81589157efde2ad23.zip
stage2 ARM: generate less no-op branches
The checks detecting such no-op branches (essentially instructions that branch to the instruction immediately following the branch) were tightened to catch more of these occurrences.
Diffstat (limited to 'test/behavior/slice.zig')
-rw-r--r--test/behavior/slice.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig
index 992a187a3e..a00297f84b 100644
--- a/test/behavior/slice.zig
+++ b/test/behavior/slice.zig
@@ -191,7 +191,6 @@ test "comptime pointer cast array and then slice" {
test "slicing zero length array" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const s1 = ""[0..];