mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
fedd86f086
This is basically the same fix in three different places. We use a set to avoid walking the whole tree of a big ConstantExprs multiple times. For example: (select cmp, (add big_expr 1), (add big_expr 2)) We don't want to visit big_expr twice here, it may consist of thousands of nodes. The testcase exercises this by creating an insanely large ConstantExprs out of a loop. It's questionable if the optimizer should ever create those, but this can be triggered with real C code. Fixes PR15714. llvm-svn: 179458 |
||
---|---|---|
.. | ||
2002-07-17-CastRef.ll | ||
2002-07-17-ConstantRef.ll | ||
2002-08-17-FunctionDGE.ll | ||
2002-08-17-WorkListTest.ll | ||
2002-09-12-Redeletion.ll | ||
2003-07-01-SelfReference.ll | ||
2003-10-09-PreserveWeakGlobals.ll | ||
2009-01-05-DeadAliases.ll | ||
2009-02-17-AliasUsesAliasee.ll | ||
basicvariabletest.ll | ||
complex-constantexpr.ll | ||
externally_available.ll | ||
lit.local.cfg |