diff options
author | Max Kazantsev <mkazantsev@azul.com> | 2022-06-22 20:48:47 +0700 |
---|---|---|
committer | Max Kazantsev <mkazantsev@azul.com> | 2022-06-22 23:33:57 +0700 |
commit | cff4f04e2ed8f4c0a69ddbdf07f6dcbec455a3e0 (patch) | |
tree | 1185b7866595343fc99fca42455f34ddef78c9c9 /llvm/lib/IR/Function.cpp | |
parent | f912d21e673b0c4e851eeb4027027f748f4cf27c (diff) | |
download | llvm-cff4f04e2ed8f4c0a69ddbdf07f6dcbec455a3e0.zip llvm-cff4f04e2ed8f4c0a69ddbdf07f6dcbec455a3e0.tar.gz llvm-cff4f04e2ed8f4c0a69ddbdf07f6dcbec455a3e0.tar.bz2 |
[LSR] Don't allow zero quotient as scale ref. PR56160
Scale reg should never be zero, so when the quotient is zero, we
cannot assign it there. Limit this transform to avoid this situation.
Differential Revision: https://reviews.llvm.org/D128339
Reviewed By: eopXD
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions