aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2022-09-28 14:00:02 +0000
committerDavid Spickett <david.spickett@linaro.org>2022-10-11 13:59:05 +0000
commitc7ddbd62d811524726e6f8e293ab1576c5b289f3 (patch)
treec4212e690b17d74e9de78cc47f9c38d8dd86c8d0 /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
parent7ec604a317c765552e28626dc85d610f8ca20dc0 (diff)
downloadllvm-c7ddbd62d811524726e6f8e293ab1576c5b289f3.zip
llvm-c7ddbd62d811524726e6f8e293ab1576c5b289f3.tar.gz
llvm-c7ddbd62d811524726e6f8e293ab1576c5b289f3.tar.bz2
[LLDB] Change RegisterValue::GetAsMemoryData to const RegisterInfo&
Most of the paths to this never passed nullptr intentionally. Those that possibly could have were assuming it was not null elsehwere, so would have crashed. I've added asserts in those cases. At least one case was relying on GetAsMemoryData to return an error when it was given nullptr. So I've hoisted that error setting code out into the caller. Depends on D134963 Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D134965
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions