diff options
author | Hari Limaye <hari.limaye@arm.com> | 2024-09-11 16:43:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-11 16:43:34 +0100 |
commit | 7858e14547c509c95503b74ff8ffc7bf2fc5b110 (patch) | |
tree | 4a9b70e56a4e8645ea9be5a6683f3e251d470740 /llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp | |
parent | 512cecad4c384c84b79fea050a755cb7e46c6ac5 (diff) | |
download | llvm-7858e14547c509c95503b74ff8ffc7bf2fc5b110.zip llvm-7858e14547c509c95503b74ff8ffc7bf2fc5b110.tar.gz llvm-7858e14547c509c95503b74ff8ffc7bf2fc5b110.tar.bz2 |
[LV] Amend check for IV increments in collectUsersInEntryBlock (#108020)
The check for IV increments in collectUsersInEntryBlock currently
triggers for exit-block PHIs which use the IV start value, resulting in
us failing to add the input value for the middle block to these PHIs.
Fix this by amending the check for IV increments to only include
incoming values that are instructions inside the loop.
Fixes #108004
Diffstat (limited to 'llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions