aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2022-03-07 09:03:48 +0000
committerFlorian Hahn <flo@fhahn.com>2022-03-07 09:04:07 +0000
commit542c335159d45f4650383a2bdfb337d9f9b4d1f1 (patch)
treeef166ea59d406c616a0a703f73bf27428e8dcd7a /clang/lib/Basic/Module.cpp
parent4ad1ed3a2ea9c25b2a69a560c22ee09961b5248a (diff)
downloadllvm-542c335159d45f4650383a2bdfb337d9f9b4d1f1.zip
llvm-542c335159d45f4650383a2bdfb337d9f9b4d1f1.tar.gz
llvm-542c335159d45f4650383a2bdfb337d9f9b4d1f1.tar.bz2
[ConstraintElimination] Remove dead variables when dropping constraints.
This patch extends ConstraintElimination to also remove dead variables when removing a constraint. When a constraint is removed because it is out of scope, all new variables added for this constraint can also be removed. This keeps the total size of the systems much smaller, because it reduces the number of variables drastically. It also fixes a bug where variables where removed incorrectly. Fixes https://github.com/llvm/llvm-project/issues/54228
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions