[llvm-bugs] [Bug 33900] New: After r308322, clang hangs on compiling lib/IR/Function.cpp from llvm 3.5.2
llvm-bugs at lists.llvm.org
Sun Jul 23 06:47:29 PDT 2017
Bug ID: 33900
Summary: After r308322, clang hangs on compiling
lib/IR/Function.cpp from llvm 3.5.2
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dimitry at andric.com
CC: llvm-bugs at lists.llvm.org
Created attachment 18836
Preprocessed Function.cpp and reproduction script
I recently imported llvm/clang trunk r308421 into FreeBSD 12-CURRENT, and
afterwards, I got a report that building the port for llvm 3.5.2 was hanging:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219139#c13 (it gets
automatically killed after 7200 seconds, as a "runaway build").
It turned out it was hanging on compiling lib/IR/Function.cpp, and bisecting
shows this started at https://reviews.llvm.org/rL308322. Since this commit
seems to only change two defaults (MaxLoadsPerMemcmp and
MaxLoadsPerMemcmpOptSize), I suspect the hang exposes another, deeper lying
I've attached a tarball with the fully preprocessed Function.cpp, and a shell
script for reproduction. In the mean time, I'm trying to reduce the test case,
but it is tricky to do with a hang. :) Normally, the .ii file should compile
within ~20 seconds, depending on the speed of the machine.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs