aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Parser/preprocessor.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2023-08-23 18:17:37 +0100
committerDavid Green <david.green@arm.com>2023-08-23 18:17:37 +0100
commitadaf545a506bd3fd21a7293e27d5a4ae3a4aea31 (patch)
tree7ba01161e941fe6886e1176601c039fe5a6d42a2 /flang/lib/Parser/preprocessor.cpp
parentf24aa691aa4f25291db8f7c61c6e9007288859e7 (diff)
downloadllvm-adaf545a506bd3fd21a7293e27d5a4ae3a4aea31.zip
llvm-adaf545a506bd3fd21a7293e27d5a4ae3a4aea31.tar.gz
llvm-adaf545a506bd3fd21a7293e27d5a4ae3a4aea31.tar.bz2
[GlobalISel] Limit shift_of_shifted_logic_chain to non-zero folds
After D157690 we are seeing some crashes from Global ISel, which seem to be related to the shift_of_shifted_logic_chain combine that can remove too many instructions if the shift amount is zero. This limits the fold to non-zero shifts, under the assumption that it is better in that case to fold away the shift to a COPY. Differential Revision: https://reviews.llvm.org/D158596
Diffstat (limited to 'flang/lib/Parser/preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions