llvm-6502/lib
Robert Bocchino 71698285e8 This change fixed a bug in the function visitMul. The prior version
assumed that a constant on the RHS of a multiplication was either an
IntConstant or an FPConstant.  It checked for an IntConstant and then,
if it did not find one, did a hard cast to an FPConstant.  That code
would crash if the RHS were a ConstantExpr that was neither an
IntConstant nor an FPConstant.  This version replaces the hard cast
with a dyn_cast.  It performs the same way for IntConstants and
FPConstants but does nothing, instead of crashing, for constant
expressions.

The regression test for this change is 2004-07-27-ConstantExprMul.ll.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15291 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-27 21:02:21 +00:00
..
Analysis Make the create...() functions for some of these passes return a FunctionPass *. 2004-07-27 17:43:21 +00:00
Archive
AsmParser Fix bug in previous patch :( 2004-07-26 01:40:20 +00:00
Bytecode Simplify code and silence warning 2004-07-27 02:34:49 +00:00
CodeGen Add some comments to the backtracking code. 2004-07-25 08:10:33 +00:00
Debugger bug 122: 2004-07-18 00:44:37 +00:00
ExecutionEngine bug 122: 2004-07-18 00:41:27 +00:00
Linker bug 122: 2004-07-17 23:50:57 +00:00
Support Remove linux/solaris specific stuff. 2004-07-25 07:34:00 +00:00
System A description of what this library is about, reference to the documentation 2004-07-18 22:33:08 +00:00
Target Get rid of the (apparently non-working) filePrinterEmitter which is added in 2004-07-27 19:37:37 +00:00
Transforms This change fixed a bug in the function visitMul. The prior version 2004-07-27 21:02:21 +00:00
VMCore alloca void makes no sense 2004-07-27 07:30:02 +00:00
Makefile