diff options
author | LemonBoy <thatlemon@gmail.com> | 2020-05-06 11:39:23 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-05-06 11:58:37 -0700 |
commit | 7fa5abd3437e94e0983a3baf323cac574d92fc03 (patch) | |
tree | f63b876557557142fa1f66cc0cd8cc335d51bcec /flang/lib/Semantics/mod-file.cpp | |
parent | 57d361bd2f3668eefa7028ad4a2d616317ed437c (diff) | |
download | llvm-7fa5abd3437e94e0983a3baf323cac574d92fc03.zip llvm-7fa5abd3437e94e0983a3baf323cac574d92fc03.tar.gz llvm-7fa5abd3437e94e0983a3baf323cac574d92fc03.tar.bz2 |
[SelectionDAG] Fix assertion failure with big shift amounts
Calling getShiftAmountTy with LegalTypes set may return a type that's too narrow to hold the shift amount for integer type it's applied to.
Fixes the regression introduced by D79096
Differential Revision: https://reviews.llvm.org/D79405
Diffstat (limited to 'flang/lib/Semantics/mod-file.cpp')
0 files changed, 0 insertions, 0 deletions