diff options
author | Andrew Wei <weiwei64@huawei.com> | 2020-09-08 13:14:53 +0800 |
---|---|---|
committer | Andrew Wei <weiwei64@huawei.com> | 2020-09-08 13:14:53 +0800 |
commit | 78071fb52456f5da9d044588e58a946c0ad96830 (patch) | |
tree | cc9f6896f30140882c7c1fc8d1bc668699067fb8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e59d9df774ed7d94455b224f0e3f6eaeae707259 (diff) | |
download | llvm-78071fb52456f5da9d044588e58a946c0ad96830.zip llvm-78071fb52456f5da9d044588e58a946c0ad96830.tar.gz llvm-78071fb52456f5da9d044588e58a946c0ad96830.tar.bz2 |
[LSR] Canonicalize a formula before insert it into the list
In GenerateConstantOffsetsImpl, we may generate non canonical Formula
if BaseRegs of that Formula is updated and includes a recurrent expr reg
related with current loop while its ScaledReg is not.
Patched by: mdchen
Reviewed By: qcolombet
Differential Revision: https://reviews.llvm.org/D86939
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions