[LLVMbugs] [Bug 146] NEW: Interpreter does not handle setne constant expression
bugzilla-daemon at zion.cs.uiuc.edu
bugzilla-daemon at zion.cs.uiuc.edu
Thu Nov 20 18:00:50 PST 2003
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=146
Summary: Interpreter does not handle setne constant expression
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Interpreter
AssignedTo: gaeke+bugs at uiuc.edu
ReportedBy: criswell at uiuc.edu
The lli program fails on the following instruction when the -force-interpreter
option is used:
br bool setne (void ()* %_GLOBAL__D_lshaped_driver.cpp_00000000_A3849043, void
()* null), label %then.0.i, label %loopentry.i
The lli program aborts with:
Unhandled ConstantExpr: bool setne (void ()*
%_GLOBAL__D_lshaped_driver.cpp_00000000_A3849043, void ()* null)
Examination and some extra debugging added to
lib/ExecutionEngine/Interpreter/Execution.cpp seems to indicate that the setne
instruction is castable as a constant expression (which makes sense because null
is constant and the %_GLOBAL... is the name of an internal function). However,
the interpreter cannot interpret a setne constant expression, so lli aborts.
I'll try to create a smaller test case later tonight.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list