[LLVMbugs] [Bug 12681] New: include/llvm/CodeGen/MachineOperand.h:390: int64_t llvm::MachineOperand::getImm() const: Assertion `isImm() && "Wrong MachineOperand accessor"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Apr 26 23:09:25 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12681
Bug #: 12681
Summary: include/llvm/CodeGen/MachineOperand.h:390: int64_t
llvm::MachineOperand::getImm() const: Assertion
`isImm() && "Wrong MachineOperand accessor"' failed.
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: vlee at freedesktop.org
CC: brian.e.paul at gmail.com, jfonseca at vmware.com,
llvmbugs at cs.uiuc.edu
Classification: Unclassified
llvm-3.2svn r155693
Run Mesa unit test lp_test_format on Linux or Mac OS X.
$ ./build/linux-x86_64-debug/bin/lp_test_format
lp_test_format: include/llvm/CodeGen/MachineOperand.h:390: int64_t
llvm::MachineOperand::getImm() const: Assertion `isImm() && "Wrong
MachineOperand accessor"' failed.
(gdb) bt
#0 0x00007fa1cf344445 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007fa1cf347bab in __GI_abort () at abort.c:91
#2 0x00007fa1cf33d10e in __assert_fail_base (fmt=<optimized out>,
assertion=0xe86958 "isImm() && \"Wrong MachineOperand accessor\"",
file=0xe868f0 "include/llvm/CodeGen/MachineOperand.h", line=<optimized
out>,
function=<optimized out>) at assert.c:94
#3 0x00007fa1cf33d1b2 in __GI___assert_fail (assertion=0xe86958 "isImm() &&
\"Wrong MachineOperand accessor\"",
file=0xe868f0 "include/llvm/CodeGen/MachineOperand.h", line=390,
function=0xe8e300 "int64_t llvm::MachineOperand::getImm() const") at
assert.c:103
#4 0x00000000004176ee in llvm::MachineOperand::getImm() const [clone .part.18]
()
#5 0x00000000004cc446 in (anonymous
namespace)::Emitter<llvm::JITCodeEmitter>::emitInstruction(llvm::MachineInstr&,
llvm::MCInstrDesc const*) ()
#6 0x00000000004cc6ab in (anonymous
namespace)::Emitter<llvm::JITCodeEmitter>::runOnMachineFunction(llvm::MachineFunction&)
()
#7 0x0000000000cf261f in llvm::FPPassManager::runOnFunction(llvm::Function&)
()
#8 0x0000000000cf3a6d in llvm::FunctionPassManagerImpl::run(llvm::Function&)
()
#9 0x0000000000cf3c3d in llvm::FunctionPassManager::run(llvm::Function&) ()
#10 0x000000000077e66e in llvm::JIT::jitTheFunction(llvm::Function*,
llvm::MutexGuard const&) ()
#11 0x000000000077ea8c in llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*,
llvm::MutexGuard const&) ()
#12 0x000000000077ed7f in llvm::JIT::getPointerToFunction(llvm::Function*) ()
#13 0x000000000079cdd6 in
llvm::ExecutionEngine::getPointerToGlobal(llvm::GlobalValue const*) ()
#14 0x000000000044805b in test_format_float (gallivm=0x2889230, verbose=0,
fp=0x0, desc=0x13d4b40)
at src/gallium/drivers/llvmpipe/lp_test_format.c:154
#15 0x0000000000448772 in test_one (gallivm=0x2889230, verbose=0, fp=0x0,
format_desc=0x13d4b40)
at src/gallium/drivers/llvmpipe/lp_test_format.c:312
#16 0x0000000000448821 in test_all (gallivm=0x2889230, verbose=0, fp=0x0)
at src/gallium/drivers/llvmpipe/lp_test_format.c:356
#17 0x0000000000448874 in test_some (gallivm=0x2889230, verbose=0, fp=0x0,
n=1000)
at src/gallium/drivers/llvmpipe/lp_test_format.c:369
#18 0x000000000044983a in main (argc=1, argv=0x7fffadefde88) at
src/gallium/drivers/llvmpipe/lp_test_main.c:401
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list