We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 689b66c commit 4b42aa3Copy full SHA for 4b42aa3
asmcomp/asmgen.ml
@@ -288,15 +288,12 @@ type register_allocator =
288
| IRC
289
| LS
290
291
-let default_allocator = IRC
292
-
293
let register_allocator fd : register_allocator =
294
match String.lowercase_ascii !Flambda_backend_flags.regalloc with
295
- | "cfg" -> if should_use_linscan fd.fun_codegen_options then LS else IRC
+ | "" | "cfg" -> if should_use_linscan fd.fun_codegen_options then LS else IRC
296
| "gi" -> GI
297
| "irc" -> IRC
298
| "ls" -> LS
299
- | "" -> default_allocator
300
| other -> Misc.fatal_errorf "unknown register allocator (%S)" other
301
302
let available_regs ~stack_slots ~f x =
0 commit comments