[Llvm-bgq-discuss] Hitting assertion during compilation

Dan Schatzberg dschatz at bu.edu
Tue Aug 27 15:25:36 CDT 2013


Hi,

I've been using the clang port to blue gene/q for its c++11 features.
While working on my software today I started to hit an assertion
during compilation:

clang: /gpfs/vesta-home/hfinkel/src/llvm-trunk/lib/CodeGen/LiveVariables.cpp:133:
void llvm::LiveVariables::HandleVirtRegUse(unsigned int,
llvm::MachineBasicBlock*, llvm::MachineInstr*): Assertion
`MRI->getVRegDef(reg) && "Register use before def!"' failed.

It happens on a number of source files which I believe I was able to
compile just fine earlier today. I get a back trace and other
information which I can upload to the mailing list if its useful.

Did anything change with the installed version of clang today? Please
let me know how I can help.

---
Dan Schatzberg


More information about the llvm-bgq-discuss mailing list