aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2022-06-22 20:48:47 +0700
committerMax Kazantsev <mkazantsev@azul.com>2022-06-22 23:33:57 +0700
commitcff4f04e2ed8f4c0a69ddbdf07f6dcbec455a3e0 (patch)
tree1185b7866595343fc99fca42455f34ddef78c9c9 /llvm/lib/IR/Function.cpp
parentf912d21e673b0c4e851eeb4027027f748f4cf27c (diff)
downloadllvm-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