File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -828,7 +828,10 @@ pub fn HashMapUnmanaged(
828
828
829
829
const cap = it .hm .capacity ();
830
830
var metadata = it .hm .metadata .? + it .index ;
831
- if (builtin .zig_backend != .stage2_c ) {
831
+ if (comptime builtin .zig_backend != .stage2_c and // TODO
832
+ // https://github.com/ziglang/zig/issues/13782
833
+ (builtin .zig_backend != .stage2_llvm or builtin .cpu .arch .endian () != .Big ))
834
+ {
832
835
comptime var vec_size : u8 = 16 ;
833
836
inline while (vec_size >= 1 ) : (vec_size /= 2 ) {
834
837
while ((cap - it .index ) >= vec_size ) {
@@ -881,7 +884,10 @@ pub fn HashMapUnmanaged(
881
884
items : [* ]T ,
882
885
883
886
pub fn next (self : * @This ()) ? * T {
884
- if (builtin .zig_backend != .stage2_c ) {
887
+ if (comptime builtin .zig_backend != .stage2_c and // TODO
888
+ // https://github.com/ziglang/zig/issues/13782
889
+ (builtin .zig_backend != .stage2_llvm or builtin .cpu .arch .endian () != .Big ))
890
+ {
885
891
comptime var vec_size : usize = 16 ;
886
892
inline while (vec_size >= 1 ) : (vec_size /= 2 ) {
887
893
while (self .len >= vec_size ) {
You can’t perform that action at this time.
0 commit comments