diff options
author | Petr Pavlu <petr.pavlu@arm.com> | 2019-01-08 14:19:06 +0000 |
---|---|---|
committer | Petr Pavlu <petr.pavlu@arm.com> | 2019-01-08 14:19:06 +0000 |
commit | bf4fdecc5160205ce966044d59bc35a406de65e5 (patch) | |
tree | 12e31850035d8fb6f56a9afe7e1eb131cdc5f34f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2e6dc538be1a694ad569496b917c5e653ed21c1d (diff) | |
download | llvm-bf4fdecc5160205ce966044d59bc35a406de65e5.zip llvm-bf4fdecc5160205ce966044d59bc35a406de65e5.tar.gz llvm-bf4fdecc5160205ce966044d59bc35a406de65e5.tar.bz2 |
[GlobalISel] Fix choice of instruction selector for AArch64 at -O0 with -global-isel=0
Commit rL347861 introduced an unintentional change in the behaviour when
compiling for AArch64 at -O0 with -global-isel=0. Previously, explicitly
disabling GlobalISel resulted in using FastISel but an updated condition
in the commit changed it to using SelectionDAG. The patch fixes this
condition and slightly better organizes the code that chooses the
instruction selector.
Fixes PR40131.
Differential Revision: https://reviews.llvm.org/D56266
llvm-svn: 350626
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions