Skip to content
  1. Jul 30, 2003
  2. Jul 29, 2003
  3. Jul 28, 2003
  4. Jul 27, 2003
  5. Jul 25, 2003
    • Vikram S. Adve's avatar
      (1) Major fix to the way unused regs. are marked and found for the FP · 536b1922
      Vikram S. Adve authored
          Single and FP double reg types (which share the same reg class).
          Now all methods marking/finding unused regs consider the regType
          within the reg class, and SparcFloatRegClass specializes this code.
      (2) Remove machine-specific regalloc. methods that are no longer needed.
          In particular, arguments and return value from a call do not need
          machine-specific code for allocation.
      (3) Rename TargetRegInfo::getRegType variants to avoid unintentional
          overloading when an include file is omitted.
      
      llvm-svn: 7334
      536b1922
    • Vikram S. Adve's avatar
      1. Fix a case that was marking the invalid reg. num. (-1) as used, · 9b17ad16
      Vikram S. Adve authored
         causing a nasty array bound error later.
      2. Fix silly typo causing logical shift of unsigned long to use
         SRL instead of SRLX.
      
      llvm-svn: 7330
      9b17ad16
  6. Jul 24, 2003
  7. Jul 23, 2003
    • Brian Gaeke's avatar
      Printer.cpp: Ditch addRequired/getAnalysis, because they leave · a92dce47
      Brian Gaeke authored
        Printer::doFinalization() out in the cold.  Now we pass in a TargetMachine
        to Printer's constructor and get the TargetData from the TargetMachine.
       Don't pass TargetMachine or MRegisterInfo objects around in the Printer.
       Constify TargetData references.
      X86.h: Update comment and prototype of createX86CodePrinterPass().
      X86TargetMachine.cpp: Update callers of createX86CodePrinterPass().
      
      llvm-svn: 7275
      a92dce47
    • Brian Gaeke's avatar
      Add, rewrite, and/or reformat many comments. · c3998cb0
      Brian Gaeke authored
      Stop passing ostreams around: we already have one perfectly good ostream
      and we can all share it.
      
      Stop stashing a pointer to TargetData in the Pass object, because that will
      lead to a crash if there are no functions in the module (ouch!)  Instead,
      use addRequired() and getAnalysis(), like we always should have done.
      
      Move the check for ConstantExpr up before the check for isPrimitiveType,
      because we need to be able to catch e.g. ubyte (cast bool false to ubyte),
      whose type is primitive but which is nevertheless a ConstantExpr, by calling
      our specialized handler instead of the AsmWriter. This would result in
      assembler errors when we would try to output something like ".byte (cast
      bool false to ubyte)".
      
      GC some unused variable declarations.
      
      llvm-svn: 7265
      c3998cb0
    • Chris Lattner's avatar
      Remove redundant const qualifiers from cast<> expressions · f26a8ee5
      Chris Lattner authored
      llvm-svn: 7253
      f26a8ee5
    • Chris Lattner's avatar
      Simplify code by using ConstantInt::getRawValue instead of checking to see · 6077c319
      Chris Lattner authored
      whether the constant is signed or unsigned, then casting
      
      llvm-svn: 7252
      6077c319
  8. Jul 21, 2003
  9. Jul 20, 2003
  10. Jul 18, 2003
    • Brian Gaeke's avatar
      Please, save your applause^H^H^H^H^H^H^H^Hflames for the end... · 26bb3c1d
      Brian Gaeke authored
      Avoid a fall-through in the (stubby) treatment of the longjmp intrinsic
      call which causes llc & lli to core-dump.
      
      Add a sort-of treatment of cast double to ulong. I am not really sure
      what a user should expect to see upon casting a negative FP value to
      unsigned long long. But with what is given here, I was able to write
      a program that could cast -123.456 to ulong and back and get -123.0,
      which seems like a step in the right direction.  GCC seems to give you
      0. I don't know if I'd consider that useful.
      
      These cases were coming up in GNU coreutils-5.0.
      
      llvm-svn: 7205
      26bb3c1d
  11. Jul 17, 2003
  12. Jul 16, 2003
  13. Jul 15, 2003
Loading