Skip to content
  1. Jul 29, 2004
  2. Jul 28, 2004
  3. Jul 27, 2004
    • Brian Gaeke's avatar
      ConstantTypeMustBeLoaded has been incorporated into SparcV9PreSelection, its · fa8ab0ab
      Brian Gaeke authored
      only user.
      
      llvm-svn: 15294
      fa8ab0ab
    • Brian Gaeke's avatar
      28f75c21
    • Robert Bocchino's avatar
      · 1256571c
      Robert Bocchino authored
      This is the regression test for the change to InstructionCombining.cpp
      that I made today.  It illustrates that the old version of the code
      would crash if the RHS of a multiplication were a ConstantExpr that
      could not be resolved into a ConstantInt or ConstantFP.
      
      llvm-svn: 15292
      1256571c
    • Robert Bocchino's avatar
      · 7b5b86cd
      Robert Bocchino authored
      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.
      
      llvm-svn: 15291
      7b5b86cd
    • Robert Bocchino's avatar
      *** empty log message *** · 22fddc7d
      Robert Bocchino authored
      llvm-svn: 15290
      22fddc7d
Loading