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.
Paths
| Differential D42276
[Driver] Add an -fexperimental-isel driver option to enable/disable GlobalISel ClosedPublic Authored by aemerson on Jan 18 2018, 5:42 PM.
Details
Summary 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}). This revision is now accepted and ready to land.Jan 25 2018, 1:29 PM Closed by commit rC323485: [Driver] Add an -fexperimental-isel driver option to enable/disable GlobalISel. (authored by aemerson). · Explain WhyJan 25 2018, 4:29 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 131521 include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Basic/DiagnosticGroups.td
include/clang/Driver/Options.td
lib/Driver/ToolChains/Clang.cpp
test/Driver/global-isel.c
|
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?