Skip to content
  1. Apr 08, 2009
    • Dan Gohman's avatar
      Fully escape the grep string for this test. · 9e7a137d
      Dan Gohman authored
      llvm-svn: 68580
      9e7a137d
    • Dan Gohman's avatar
      Update this test for recent codegen improvements. CodeGen is now · bb4ff96e
      Dan Gohman authored
      using an lea in place of a mov and an add for this test.
      
      llvm-svn: 68579
      bb4ff96e
    • Chris Lattner's avatar
      change printStringChar to emit characters as unsigned char instead of char, · 69b586e5
      Chris Lattner authored
      avoiding sign extension for the top octet.  For "negative" chars, we'd print
      stuff like:
      
      .asciz	"\702...
      now we print:
      .asciz	"\302...
      
      llvm-svn: 68577
      69b586e5
    • Dan Gohman's avatar
      Implement support for using modeling implicit-zero-extension on x86-64 · ad3e549a
      Dan Gohman authored
      with SUBREG_TO_REG, teach SimpleRegisterCoalescing to coalesce
      SUBREG_TO_REG instructions (which are similar to INSERT_SUBREG
      instructions), and teach the DAGCombiner to take advantage of this on
      targets which support it. This eliminates many redundant
      zero-extension operations on x86-64.
      
      This adds a new TargetLowering hook, isZExtFree. It's similar to
      isTruncateFree, except it only applies to actual definitions, and not
      no-op truncates which may not zero the high bits.
      
      Also, this adds a new optimization to SimplifyDemandedBits: transform
      operations like x+y into (zext (add (trunc x), (trunc y))) on targets
      where all the casts are no-ops. In contexts where the high part of the
      add is explicitly masked off, this allows the mask operation to be
      eliminated. Fix the DAGCombiner to avoid undoing these transformations
      to eliminate casts on targets where the casts are no-ops.
      
      Also, this adds a new two-address lowering heuristic. Since
      two-address lowering runs before coalescing, it helps to be able to
      look through copies when deciding whether commuting and/or
      three-address conversion are profitable.
      
      Also, fix a bug in LiveInterval::MergeInClobberRanges. It didn't handle
      the case that a clobber range extended both before and beyond an
      existing live range. In that case, multiple live ranges need to be
      added. This was exposed by the new subreg coalescing code.
      
      Remove 2008-05-06-SpillerBug.ll. It was bugpoint-reduced, and the
      spiller behavior it was looking for no longer occurrs with the new
      instruction selection.
      
      llvm-svn: 68576
      ad3e549a
    • Daniel Dunbar's avatar
      Driver: Fix forwarding of -fpascal-strings. · d4510f22
      Daniel Dunbar authored
      llvm-svn: 68570
      d4510f22
    • Devang Patel's avatar
      Revert prev. patch for now. · 10f7c3de
      Devang Patel authored
      llvm-svn: 68569
      10f7c3de
    • Steve Naroff's avatar
      Fix <rdar://problem/6764172> [sema] crash on invalid. · 65a0089e
      Steve Naroff authored
      llvm-svn: 68568
      65a0089e
    • Daniel Dunbar's avatar
      Visibility attributes should only be set on definition. · ea10ab66
      Daniel Dunbar authored
      llvm-svn: 68561
      ea10ab66
    • Bill Wendling's avatar
      Temporarily revert r68552. This was causing a failure in the self-hosting LLVM · 4aa25b79
      Bill Wendling authored
      builds.
      
      --- Reverse-merging (from foreign repository) r68552 into '.':
      U    test/CodeGen/X86/tls8.ll
      U    test/CodeGen/X86/tls10.ll
      U    test/CodeGen/X86/tls2.ll
      U    test/CodeGen/X86/tls6.ll
      U    lib/Target/X86/X86Instr64bit.td
      U    lib/Target/X86/X86InstrSSE.td
      U    lib/Target/X86/X86InstrInfo.td
      U    lib/Target/X86/X86RegisterInfo.cpp
      U    lib/Target/X86/X86ISelLowering.cpp
      U    lib/Target/X86/X86CodeEmitter.cpp
      U    lib/Target/X86/X86FastISel.cpp
      U    lib/Target/X86/X86InstrInfo.h
      U    lib/Target/X86/X86ISelDAGToDAG.cpp
      U    lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
      U    lib/Target/X86/AsmPrinter/X86IntelAsmPrinter.cpp
      U    lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h
      U    lib/Target/X86/AsmPrinter/X86IntelAsmPrinter.h
      U    lib/Target/X86/X86ISelLowering.h
      U    lib/Target/X86/X86InstrInfo.cpp
      U    lib/Target/X86/X86InstrBuilder.h
      U    lib/Target/X86/X86RegisterInfo.td
      
      llvm-svn: 68560
      4aa25b79
    • Devang Patel's avatar
      Right now DBG_LABEL are required for llvm.dbg.region_start and... · ddafc03e
      Devang Patel authored
      Right now DBG_LABEL are required for llvm.dbg.region_start and llvm.dbg.region_end in non-fast mode also.
      
      llvm-svn: 68559
      ddafc03e
    • Daniel Dunbar's avatar
      Driver: Fix forwarding of -{std,ansi,trigraphs} when there are · c44b4ccc
      Daniel Dunbar authored
      multiple instances of an option.
      
      Also, removed direct -ansi support from clang-cc.
      
      llvm-svn: 68558
      c44b4ccc
    • Anders Carlsson's avatar
      Shuffle some call code around. No functionality change. · 5f50c651
      Anders Carlsson authored
      llvm-svn: 68557
      5f50c651
  2. Apr 07, 2009
Loading