diff options
author | Max Kazantsev <mkazantsev@azul.com> | 2021-07-16 11:31:15 +0700 |
---|---|---|
committer | Max Kazantsev <mkazantsev@azul.com> | 2021-07-16 11:33:59 +0700 |
commit | f98ed74f6910f8b09e77497aeb30c860c433610d (patch) | |
tree | 2bb1193ce1a783bac2789eef013c285dabeece00 /llvm/lib/Support/CommandLine.cpp | |
parent | 48688257c52dfc2c666b64730f0467c2cc38210c (diff) | |
download | llvm-f98ed74f6910f8b09e77497aeb30c860c433610d.zip llvm-f98ed74f6910f8b09e77497aeb30c860c433610d.tar.gz llvm-f98ed74f6910f8b09e77497aeb30c860c433610d.tar.bz2 |
[LSR] Handle case 1*reg => reg. PR50918
This patch addresses assertion failure in case when the only found formula for LSR
is `1*reg => reg` which was supposed to be an impossible situation, however there
is a test that shows it is possible.
In this case, we can use scale register with scale of 1 as the missing base register.
Reviewed By: huihuiz, reames
Differential Revision: https://reviews.llvm.org/D105009
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions