LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 820 - globalopt crash on inline asm code
Summary: globalopt crash on inline asm code
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Interprocedural Optimizations (show other bugs)
Version: 1.7
Hardware: All All
: P normal
Assignee: Chris Lattner
URL:
Keywords: compile-fail
Depends on:
Blocks:
 
Reported: 2006-07-07 16:25 PDT by Jack Robinson
Modified: 2010-02-22 12:56 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments
File causing the crash (3.02 KB, application/octet-stream)
2006-07-07 16:27 PDT, Jack Robinson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Robinson 2006-07-07 16:25:57 PDT
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.
Comment 1 Chris Lattner 2006-07-07 16:27:30 PDT
Please attach the .bc file
Comment 2 Jack Robinson 2006-07-07 16:27:51 PDT
Created attachment 356 [details]
File causing the crash
Comment 3 Chris Lattner 2006-07-07 16:29:08 PDT
I'm on it, thanks!