aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authorDanila Malyutin <danilaml@users.noreply.github.com>2023-10-30 14:50:57 -0700
committerGitHub <noreply@github.com>2023-10-31 00:50:57 +0300
commitba1349fc31295a3670b34c189838a133e18c0bed (patch)
tree4240eafde07d49fb12b561497ba71b9c6ca69cf9 /llvm/unittests/CodeGen/MachineInstrTest.cpp
parent6995183e174280f3987858bd13a4eca9905f6365 (diff)
downloadllvm-ba1349fc31295a3670b34c189838a133e18c0bed.zip
llvm-ba1349fc31295a3670b34c189838a133e18c0bed.tar.gz
llvm-ba1349fc31295a3670b34c189838a133e18c0bed.tar.bz2
[SCEV] Fix "quick and dirty" difference that could lead to assert (#70688)
The old algorithm would remove all operands matching %step SCEV when it intended to only remove a single one. This lead to assert when SCEVAddExpr was of the form %step + %step and potential miscompiles in similar cases. Such SCEVs could be created when construction reached depth thresholds. Fixes #70348
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
0 files changed, 0 insertions, 0 deletions