diff options
author | Petr Pavlu <petr.pavlu@arm.com> | 2018-11-29 12:56:32 +0000 |
---|---|---|
committer | Petr Pavlu <petr.pavlu@arm.com> | 2018-11-29 12:56:32 +0000 |
commit | e6406d568c550dc27999d96d174f8fe354ab545a (patch) | |
tree | 421f4da37c594aaa063eefb1b138d3d0c32a4e01 /clang/lib/AST/ExternalASTMerger.cpp | |
parent | 3e3696bf467debb19f413642c49c14df839a584a (diff) | |
download | bcm5719-llvm-e6406d568c550dc27999d96d174f8fe354ab545a.tar.gz bcm5719-llvm-e6406d568c550dc27999d96d174f8fe354ab545a.zip |
[GlobalISel] Make EnableGlobalISel always set when GISel is enabled
Change meaning of TargetOptions::EnableGlobalISel. The flag was
previously set only when a target switched on GlobalISel but it is now
always set when the GlobalISel pipeline is enabled. This makes the flag
consistent with TargetOptions::EnableFastISel and allows its use in
other parts of the compiler to determine when GlobalISel is enabled.
The EnableGlobalISel flag had previouly only one use in
TargetPassConfig::isGlobalISelAbortEnabled(). The method used its value
to determine if GlobalISel was enabled by a target and returned false in
such a case. To preserve the current behaviour, a new flag
TargetOptions::GlobalISelAbort is introduced to separately record the
abort behaviour.
Differential Revision: https://reviews.llvm.org/D54518
llvm-svn: 347861
Diffstat (limited to 'clang/lib/AST/ExternalASTMerger.cpp')
0 files changed, 0 insertions, 0 deletions