Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
[compat]
ExprTools = "0.1"
InteractiveUtils = "1"
LLVM = "9.1"
LLVM = "9.3"
Libdl = "1"
Logging = "1"
PrecompileTools = "1"
Expand Down
12 changes: 6 additions & 6 deletions src/optim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ function buildNewPMPipeline!(mpm, @nospecialize(job::CompilerJob), opt_level)
end

const BasicSimplifyCFGOptions =
(; convert_switch_range_to_icmp=true,
convert_switch_to_lookup_table=true,
forward_switch_cond_to_phi=true,
(; switch_range_to_icmp=true,
switch_to_lookup=true,
forward_switch_cond=true,
)
const AggressiveSimplifyCFGOptions =
(; convert_switch_range_to_icmp=true,
convert_switch_to_lookup_table=true,
forward_switch_cond_to_phi=true,
(; switch_range_to_icmp=true,
switch_to_lookup=true,
forward_switch_cond=true,
# These mess with loop rotation, so only do them after that
hoist_common_insts=true,
# Causes an SRET assertion error in late-gc-lowering
Expand Down
Loading