summaryrefslogtreecommitdiff
path: root/lldb/test/API/lua_api/TestProcessAPI.lua
diff options
context:
space:
mode:
authorKerry McLaughlin <kerry.mclaughlin@arm.com>2021-10-11 11:06:36 +0100
committerKerry McLaughlin <kerry.mclaughlin@arm.com>2021-10-12 13:24:49 +0100
commit1439ef1a3f05c708bf5a57c4623cf895d7268413 (patch)
tree4308b0c76d87e20ed2b226fc136bb26e2193118a /lldb/test/API/lua_api/TestProcessAPI.lua
parent67b10532c637b22c0926517d27f84759893a7258 (diff)
[LoopVectorize] Classify pointer induction updates as scalar only if they have one use
collectLoopScalars collects pointer induction updates in ScalarPtrs, assuming that the instruction will be scalar after vectorization. This may crash later in VPReplicateRecipe::execute() if there there is another user of the instruction other than the Phi node which needs to be widened. This changes collectLoopScalars so that if there are any other users of Update other than a Phi node, it is not added to ScalarPtrs. Reviewed By: david-arm, fhahn Differential Revision: https://reviews.llvm.org/D111294
Diffstat (limited to 'lldb/test/API/lua_api/TestProcessAPI.lua')
0 files changed, 0 insertions, 0 deletions