Skip to content
  1. Dec 13, 2002
  2. Dec 12, 2002
    • Brian Gaeke's avatar
      · 5e91d38e
      Brian Gaeke authored
      This checkin is brought to you by the brian gaeke allnighter fund.
      
      
      (lib/Target/X86) InstSelectSimple.cpp:
       Include llvm/DerivedTypes.h and iostream.
       Refactor visitMul out into a wrapper around doMultiply(), so that we
        can do multiplications on temporary values when we are doing
        getelementptrs.
       Refactor part of getReg out into makeAnotherReg, so that we can create
        registers willy-nilly to hold temporary values, when we are doing
        getelementptrs.
       Add stub implementations of visitMallocInst and visitAllocaInst.
       Add initial implementation of visitGetElementPtrInst.
       In copyConstantToRegister:
        We throw a *lot* of our asserts here. So, when we want to throw an
         assert, print out to stderr whatever expr or whatever constant made
         us barf.
        Support copying ConstantPointerNull to register, using a move immediate
         of zero.
       Rename FLDr4 and FLDr8 to FLDr32 and FLDr64, so that they match the meanings
        of the numbers in the other instruction names. All uses modified.
       Teach visitCallInst to extract byte- and short-class return values
        from subregs of EAX.  Add a FIXME note about how we would do it for
        float-class return values.
       Add a FIXME note about how we would cast float to int and back.
      
      X86InstrInfo.def:
       Rename FLDr4 and FLDr8 to FLDr32 and FLDr64, so that they match the meanings
        of the numbers in the other instruction names. All uses modified.
      
      (tools/jello) GlobalVars.cpp:
       Include iostream.
       If we have to emit a floating-point constant to memory, gamble and use
        the same method as for ints.
       If we have to emit a ConstantPointerNull to memory, try using a "void *"
        and "NULL".
       Otherwise, if we are going to throw an assert, print out whatever constant
        made us barf, first.
      
      llvm-svn: 4973
      5e91d38e
    • Misha Brukman's avatar
      'graph' is spelled without a 'c'. · 1028ac46
      Misha Brukman authored
      Also added Statistic counters for NoAlias and MayAlias.
      
      llvm-svn: 4972
      1028ac46
    • Chris Lattner's avatar
      Remove #includes · c42ada2e
      Chris Lattner authored
      llvm-svn: 4968
      c42ada2e
  3. Dec 10, 2002
  4. Dec 08, 2002
  5. Dec 07, 2002
  6. Dec 06, 2002
    • Vikram S. Adve's avatar
      Two bug fixes: · 04aee947
      Vikram S. Adve authored
      (1) Make entries for Constant values in the ScalarMap.
      (2) Set MOD bit for the node pointed to by the
          argument of a free instruction.
      
      llvm-svn: 4948
      04aee947
    • Vikram S. Adve's avatar
      Fix several related bugs in DSNode::mergeWith() caused by the · 0d5559fd
      Vikram S. Adve authored
      fact that the incoming nodes may be merged away at intermediate
      steps.  Use an extra level of indirection via DSNodeHandles
      to track the nodes being merged.  All this now happens in a
      static helper function MergeNodes().
      
      llvm-svn: 4947
      0d5559fd
Loading