Skip to content
  1. Jan 04, 2010
    • David Greene's avatar
      · af5b9a2d
      David Greene authored
      Change errs() to dbgs().
      
      llvm-svn: 92502
      af5b9a2d
    • David Greene's avatar
      · 94cfbe1d
      David Greene authored
      Change errs() to dbgs().
      
      llvm-svn: 92498
      94cfbe1d
    • David Greene's avatar
      · 7af1efc1
      David Greene authored
      Change errs() to dbgs().
      
      llvm-svn: 92496
      7af1efc1
    • David Greene's avatar
      · 96b90539
      David Greene authored
      Change errs() to dbgs().
      
      llvm-svn: 92490
      96b90539
  2. Jan 03, 2010
  3. Jan 02, 2010
    • Chris Lattner's avatar
      Teach codegen to handle: · 1eea3b0a
      Chris Lattner authored
       (X != null) | (Y != null) --> (X|Y) != 0
       (X == null) & (Y == null) --> (X|Y) == 0
      
      so that instcombine can stop doing this for pointers.  This is part of PR3351,
      which is a case where instcombine doing this for pointers (inserting ptrtoint)
      is pessimizing code.
      
      llvm-svn: 92406
      1eea3b0a
    • Chris Lattner's avatar
      whitespace cleanup · 24576a5c
      Chris Lattner authored
      llvm-svn: 92404
      24576a5c
  4. Jan 01, 2010
  5. Dec 29, 2009
    • Chris Lattner's avatar
      remove a bunch of unneeded functions. · 8e805be3
      Chris Lattner authored
      llvm-svn: 92263
      8e805be3
    • Chris Lattner's avatar
      Final step in the metadata API restructuring: move the · a0566979
      Chris Lattner authored
      getMDKindID/getMDKindNames methods to LLVMContext (and add
      convenience methods to Module), eliminating MetadataContext.
      Move the state that it maintains out to LLVMContext.
      
      llvm-svn: 92259
      a0566979
    • Chris Lattner's avatar
      This is a major cleanup of the instruction metadata interfaces that · 2f2aa2b0
      Chris Lattner authored
      I asked Devang to do back on Sep 27.  Instead of going through the
      MetadataContext class with methods like getMD() and getMDs(), just
      ask the instruction directly for its metadata with getMetadata()
      and getAllMetadata().
      
      This includes a variety of other fixes and improvements: previously
      all Value*'s were bloated because the HasMetadata bit was thrown into
      value, adding a 9th bit to a byte.  Now this is properly sunk down to
      the Instruction class (the only place where it makes sense) and it
      will be folded away somewhere soon.
      
      This also fixes some confusion in getMDs and its clients about 
      whether the returned list is indexed by the MDID or densely packed.
      This is now returned sorted and densely packed and the comments make
      this clear.
      
      This introduces a number of fixme's which I'll follow up on.
      
      llvm-svn: 92235
      2f2aa2b0
  6. Dec 28, 2009
  7. Dec 25, 2009
  8. Dec 24, 2009
    • Chris Lattner's avatar
      handle equality memcmp of 8 bytes on x86-64 with two unaligned loads and a · f5e3ed64
      Chris Lattner authored
      compare.  On other targets we end up with a call to memcmp because we don't
      want 16 individual byte loads.  We should be able to use movups as well, but
      we're failing to select the generated icmp.
      
      llvm-svn: 92107
      f5e3ed64
    • David Greene's avatar
      · e40730d8
      David Greene authored
      Change errs() to dbgs().
      
      llvm-svn: 92099
      e40730d8
    • Chris Lattner's avatar
      move an optimization for memcmp out of simplifylibcalls and into · 1a32ede6
      Chris Lattner authored
      SDISel.  This optimization was causing simplifylibcalls to 
      introduce type-unsafe nastiness.  This is the first step, I'll be 
      expanding the memcmp optimizations shortly, covering things that
      we really really wouldn't want simplifylibcalls to do.
      
      llvm-svn: 92098
      1a32ede6
    • David Greene's avatar
      · d60abbf7
      David Greene authored
      Change errs() to dbgs().
      
      llvm-svn: 92097
      d60abbf7
    • David Greene's avatar
      · c230cb94
      David Greene authored
      Change errs() to dbgs().
      
      llvm-svn: 92096
      c230cb94
    • David Greene's avatar
      · 8bc072cd
      David Greene authored
      Change errs() to dbgs().
      
      llvm-svn: 92094
      8bc072cd
    • David Greene's avatar
      · 75a2efb0
      David Greene authored
      Change errs() to dbgs().
      
      llvm-svn: 92093
      75a2efb0
  9. Dec 23, 2009
Loading