Skip to content
  1. Apr 29, 2009
    • Bill Wendling's avatar
      Second attempt: · 084669a1
      Bill Wendling authored
      Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
      use the old behavior, the flag is -O0. This change allows for finer-grained
      control over which optimizations are run at different -O levels.
      
      Most of this work was pretty mechanical. The majority of the fixes came from
      verifying that a "fast" variable wasn't used anymore. The JIT still uses a
      "Fast" flag. I'll change the JIT with a follow-up patch.
      
      llvm-svn: 70343
      084669a1
  2. Apr 28, 2009
  3. Apr 27, 2009
  4. Apr 25, 2009
  5. Apr 24, 2009
  6. Apr 23, 2009
  7. Apr 21, 2009
  8. Apr 20, 2009
  9. Apr 18, 2009
  10. Apr 17, 2009
  11. Apr 16, 2009
  12. Apr 15, 2009
  13. Apr 14, 2009
  14. Apr 13, 2009
    • Dan Gohman's avatar
      Rename COPY_TO_SUBCLASS to COPY_TO_REGCLASS, and generalize · 6c142630
      Dan Gohman authored
      it accordingly. Thanks to Jakob Stoklund Olesen for pointing
      out how this might be useful.
      
      llvm-svn: 68986
      6c142630
    • Devang Patel's avatar
      · 80be3511
      Devang Patel authored
      Reapply 68847.
      Now debug_inlined section is covered by TAI->doesDwarfUsesInlineInfoSection(), which is false by default.
      
      llvm-svn: 68964
      80be3511
    • Dan Gohman's avatar
      Implement x86 h-register extract support. · 57d6bd36
      Dan Gohman authored
       - Add patterns for h-register extract, which avoids a shift and mask,
         and in some cases a temporary register.
       - Add address-mode matching for turning (X>>(8-n))&(255<<n), where
         n is a valid address-mode scale value, into an h-register extract
         and a scaled-offset address.
       - Replace X86's MOV32to32_ and related instructions with the new
         target-independent COPY_TO_SUBREG instruction.
      
      On x86-64 there are complicated constraints on h registers, and
      CodeGen doesn't currently provide a high-level way to express all of them,
      so they are handled with a bunch of special code. This code currently only
      supports extracts where the result is used by a zero-extend or a store,
      though these are fairly common.
      
      These transformations are not always beneficial; since there are only
      4 h registers, they sometimes require extra move instructions, and
      this sometimes increases register pressure because it can force out
      values that would otherwise be in one of those registers. However,
      this appears to be relatively uncommon.
      
      llvm-svn: 68962
      57d6bd36
    • Dan Gohman's avatar
      Remove x86's special-case handling for ISD::TRUNCATE and · f20462c2
      Dan Gohman authored
      ISD::SIGN_EXTEND_INREG. Tablegen-generated code can handle
      these cases, and the scheduling issues observed earlier
      appear to be resolved now.
      
      llvm-svn: 68959
      f20462c2
    • Dan Gohman's avatar
      Fix copy+pastos in comments. · e9432dcc
      Dan Gohman authored
      llvm-svn: 68958
      e9432dcc
    • Dan Gohman's avatar
      List the l registers before h registers, for consistency. · 9e3eb7bc
      Dan Gohman authored
      llvm-svn: 68954
      9e3eb7bc
    • Dan Gohman's avatar
      Use X86::SUBREG_8BIT instead of hard-coding the equivalent constant. · 092b8b6f
      Dan Gohman authored
      llvm-svn: 68951
      092b8b6f
Loading