summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2022-02-01 13:09:54 +0000
committerDavid Sherwood <david.sherwood@arm.com>2022-02-10 09:39:12 +0000
commit1badfbb4fc1a16f6dbe3b4edccdef44d9142857e (patch)
tree1bbb5e409419204cbbe3407e2ef9da71b9df01af /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
parent09d20761eb74a2f0b82db6112c342f40ba157446 (diff)
Fix incorrect TypeSize->uint64_t cast in InductionDescriptor::isInductionPHI
The code was relying upon the implicit conversion of TypeSize to uint64_t and assuming the type in question was always fixed. However, I discovered an issue when running the canon-freeze pass with some IR loops that contains scalable vector types. I've changed the code to bail out if the size is unknown at compile time, since we cannot compute whether the step is a multiple of the type size or not. I added a test here: Transforms/CanonicalizeFreezeInLoops/phis.ll Differential Revision: https://reviews.llvm.org/D118696
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions