diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2016-01-04 07:23:12 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2016-01-04 07:23:12 +0000 |
commit | 7664127f8c949ac3da7003427d87ff4b93e320d2 (patch) | |
tree | b6e3b71684d4552858fb66242e2713c82eb8f983 /clang/unittests/Format/FormatTestProto.cpp | |
parent | ec9a589598d2c2103c66584d4134a991fea6841e (diff) | |
download | bcm5719-llvm-7664127f8c949ac3da7003427d87ff4b93e320d2.tar.gz bcm5719-llvm-7664127f8c949ac3da7003427d87ff4b93e320d2.zip |
Fix a horrible infloop in value tracking in the face of dead code.
Amazingly, we just never triggered this without:
1) Moving code around for MetadataTracking so that a certain *different*
amount of inlining occurs in the per-TU compile step.
2) Then you LTO opt or clang with a bootstrap, and get inlining, loop
opts, and GVN line up everything *just* right.
I don't really know how we didn't hit this before. We really need to be
fuzz testing stuff, it shouldn't be hard to trigger. I'm working on
crafting a reduced nice test case, and will submit that when I have it,
but I want to get LTO build bots going again.
llvm-svn: 256735
Diffstat (limited to 'clang/unittests/Format/FormatTestProto.cpp')
0 files changed, 0 insertions, 0 deletions