diff options
author | Kinuko Yasuda <kinuko@google.com> | 2023-05-03 11:37:44 +0000 |
---|---|---|
committer | Martin Braenne <mboehme@google.com> | 2023-05-03 18:42:15 +0000 |
commit | 791b0fd02668fd0fcf07788d4e16bb468434f4bf (patch) | |
tree | 5e70eede953a854ed40633d6a83443e242b7546d /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | 8b8466fd31e5a194fd8ba7a73a0f23d32f164318 (diff) | |
download | llvm-791b0fd02668fd0fcf07788d4e16bb468434f4bf.zip llvm-791b0fd02668fd0fcf07788d4e16bb468434f4bf.tar.gz llvm-791b0fd02668fd0fcf07788d4e16bb468434f4bf.tar.bz2 |
[clang][dataflow] Change PruneTriviallyFalseEdges for building CFG
Keeping this false could end up with extra iterations on a lot of loops
that aren't real ones (e.g. they could be a do-while-false for macros),
and makes the analyses very slow.
This patch changes the default for
CFG::BuildOptions.PruneTriviallyFalseEdges to true to avoid it.
Reviewed By: ymandel, xazax.hun, gribozavr2
Differential Revision: https://reviews.llvm.org/D149640
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions