diff options
| author | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2022-03-04 19:19:26 +0100 |
|---|---|---|
| committer | Joachim Schmidt <joachim.schmidt557@outlook.com> | 2022-03-04 23:28:14 +0100 |
| commit | d486a7b81188ea1e027334c81589157efde2ad23 (patch) | |
| tree | 364b3c5bd98adfd2650b292f8e67c52c0cb45dba /test/behavior/switch.zig | |
| parent | 7605166426527c7d169ecad89d8de6799935f5ca (diff) | |
| download | zig-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/switch.zig')
| -rw-r--r-- | test/behavior/switch.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/switch.zig b/test/behavior/switch.zig index 22c78e3162..fab564f71d 100644 --- a/test/behavior/switch.zig +++ b/test/behavior/switch.zig @@ -190,7 +190,6 @@ test "switch with disjoint range" { } test "switch variable for range and multiple prongs" { - if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO const S = struct { @@ -358,7 +357,6 @@ fn returnsFalse() bool { } } test "switch on const enum with var" { - if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO try expect(!returnsFalse()); |
