opt bugpoint-reduced-simplified.bc -globalopt opt: GlobalOpt.cpp:1236: llvm::Constant* getVal(std::map<llvm::Value*, llvm::Constant*, std::less<llvm::Value*>, std::allocator<std::pair<llvm::Value* const, llvm::Constant*> > >&, llvm::Value*): Assertion `R && "Reference to an uncomputed value!"' failed. opt((anonymous namespace)::PrintStackTrace()+0x1f)[0x8480eef] /lib/tls/i686/cmov/libc.so.6(abort+0x1dc)[0xb7dd67d8] /lib/tls/i686/cmov/libc.so.6(__assert_fail+0x109)[0xb7dced5d] opt[0x82e57e2] Aborted GlobalOpt.cpp:1236: llvm::Constant* getVal(std::map<llvm::Value*, llvm::Constant*, std::less<llvm::Value*>, std::allocator<std::pair<llvm::Value* const, llvm::Constant*> > >&, llvm::Value*): Assertion `R && "Reference to an uncomputed value!"' failed.
Please attach the .bc file
Created attachment 356 [details] File causing the crash
I'm on it, thanks!
Fixed. Patch here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060703/035913.html Testcase here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060703/035912.html -Chris