diff options
author | Florian Hahn <flo@fhahn.com> | 2022-09-29 20:49:55 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-09-29 20:49:56 +0100 |
commit | 9933a2e9fd0c37dcdce5952fab7e486d3cf2d336 (patch) | |
tree | e4e9d9112b1f2b3806223649f6fdd44a43e9b389 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 0513b0305acde91a0a5f7f5ea4061476011f0d1d (diff) | |
download | llvm-9933a2e9fd0c37dcdce5952fab7e486d3cf2d336.zip llvm-9933a2e9fd0c37dcdce5952fab7e486d3cf2d336.tar.gz llvm-9933a2e9fd0c37dcdce5952fab7e486d3cf2d336.tar.bz2 |
[SCEVExpander] Move LCSSA fixup to ::expand.
Move LCSSA fixup from ::expandCodeForImpl to ::expand(). This has
the advantage that we directly preserve LCSSA nodes here instead of
relying on doing so in rememberInstruction. It also ensures that we
don't add the non-LCSSA-safe value to InsertedExpressions.
Alternative to D132704.
Fixes #57000.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D134739
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions