diff options
author | Florian Hahn <flo@fhahn.com> | 2021-11-10 11:41:08 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-11-10 11:41:08 +0000 |
commit | e7f1232cb777ac7408c7b4b7f5c421986bad3a82 (patch) | |
tree | b023c360efe1e1266a9a1cc645b22aa82b6e526d /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 6f16ee5e14a0e55f10adc9aa1d795a73342d5994 (diff) | |
download | llvm-e7f1232cb777ac7408c7b4b7f5c421986bad3a82.zip llvm-e7f1232cb777ac7408c7b4b7f5c421986bad3a82.tar.gz llvm-e7f1232cb777ac7408c7b4b7f5c421986bad3a82.tar.bz2 |
[LV] Move optimized IV recipes to phi section of header after sinking.
Unfortunately sinking recipes for first-order recurrences relies on
the original position of recipes. So if a recipes needs to be sunk after
an optimized induction, it needs to stay in the original position, until
sinking is done. This is causing PR52460.
To fix the crash, keep the recipes in the original position until
sink-after is done.
Post-commit follow-up to c45045bfd04af9 to address PR52460.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions