Skip to content
  1. Jun 04, 2008
  2. Jun 01, 2008
  3. May 31, 2008
  4. May 30, 2008
  5. May 29, 2008
  6. May 28, 2008
  7. May 27, 2008
  8. May 26, 2008
    • Eli Friedman's avatar
      Emit memmove, not memcpy, for structure copies; this is unfortunately · df649f3d
      Eli Friedman authored
      required for correctness in cases of copying a struct to itself or to 
      an overlapping struct (itself for cases like *a = *a, and overlapping 
      is possible with unions).
      
      Hopefully, this won't end up being a perf issue; LLVM *should* be able 
      to optimize memmove to memcpy in a lot of cases, and for small copies 
      the generated code *should* be mostly comparable. (In reality, LLVM 
      is currently horrible at optimizing memmove, but that's a bug, not a 
      fundamental issue.)
      
      gcc currently generates wrong code; that's 
      http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667.
      
      llvm-svn: 51566
      df649f3d
  9. May 25, 2008
  10. May 23, 2008
    • Dan Gohman's avatar
      Change uses of llvm::Type::isFirstClassType to use the new · 5d30975e
      Dan Gohman authored
      llvm::Type::isSingleValueType. Currently these two functions have
      the same behavior, but soon isFirstClassType will return true for
      struct and array types.
      
      Clang may some day want to use of isFirstClassType for some of
      these some day as an optimization, but it'll require some
      consideration.
      
      llvm-svn: 51446
      5d30975e
  11. May 22, 2008
    • Eli Friedman's avatar
      Make debugging information usable. This is barebones, but it makes -g · 1763075b
      Eli Friedman authored
      actually work (instead of crashing llc), and there's enough info emitted 
      to get line number information in gdb. This should hopefully be helpful 
      for debugging non-working programs.
      
      I got rid of the begin/endregion calls because the implementation wasn't 
      working; someone who knows the debugging info a bit better might try to 
      add it. I really have no clue how a compiler is supposed to emit them.
      
      This commit shouldn't have any effect without -g.
      
      llvm-svn: 51404
      1763075b
Loading