Add an -fexperimental-isel driver option to enable/disable GlobalISel.
This is a more user friendly way of enabling GlobalISel instead of doing -mllvm -global-isel.
Differential D42276
[Driver] Add an -fexperimental-isel driver option to enable/disable GlobalISel aemerson on Jan 18 2018, 5:42 PM. Authored by
Details
Add an -fexperimental-isel driver option to enable/disable GlobalISel. This is a more user friendly way of enabling GlobalISel instead of doing -mllvm -global-isel.
Diff Detail
Event Timeline
Comment Actions I've added two kinds of warnings, one for targets which have incomplete GISel support, and another for unsupported optimisation levels (for ARM64 -O{1,2,3,s,z}). |
I think that it would be useful to also set -global-isel-abort=2, so that users can report problem early.
What do you think?