Skip to content
  1. Aug 30, 2009
  2. Aug 27, 2009
  3. Aug 26, 2009
  4. Aug 15, 2009
  5. Aug 12, 2009
  6. Aug 11, 2009
  7. Aug 10, 2009
  8. Aug 09, 2009
  9. Aug 06, 2009
  10. Aug 05, 2009
    • Dan Gohman's avatar
      Enable the new no-SP register classes by default. This is to address · df7ea32a
      Dan Gohman authored
      PR4572. A few tests have some minor code regressions due to different
      coalescing.
      
      llvm-svn: 78217
      df7ea32a
    • Dan Gohman's avatar
      Major calling convention code refactoring. · f9bbcd1a
      Dan Gohman authored
      Instead of awkwardly encoding calling-convention information with ISD::CALL,
      ISD::FORMAL_ARGUMENTS, ISD::RET, and ISD::ARG_FLAGS nodes, TargetLowering
      provides three virtual functions for targets to override:
      LowerFormalArguments, LowerCall, and LowerRet, which replace the custom
      lowering done on the special nodes. They provide the same information, but
      in a more immediately usable format.
      
      This also reworks much of the target-independent tail call logic. The
      decision of whether or not to perform a tail call is now cleanly split
      between target-independent portions, and the target dependent portion
      in IsEligibleForTailCallOptimization.
      
      This also synchronizes all in-tree targets, to help enable future
      refactoring and feature work.
      
      llvm-svn: 78142
      f9bbcd1a
  11. Aug 03, 2009
  12. Aug 02, 2009
  13. Jul 30, 2009
    • Evan Cheng's avatar
      Optimize some common usage patterns of atomic built-ins __sync_add_and_fetch()... · e62288fd
      Evan Cheng authored
      Optimize some common usage patterns of atomic built-ins __sync_add_and_fetch() and __sync_sub_and_fetch. 
      
      When the return value is not used (i.e. only care about the value in the memory), x86 does not have to use add to implement these. Instead, it can use add, sub, inc, dec instructions with the "lock" prefix.
      
      This is currently implemented using a bit of instruction selection trick. The issue is the target independent pattern produces one output and a chain and we want to map it into one that just output a chain. The current trick is to select it into a merge_values with the first definition being an implicit_def. The proper solution is to add new ISD opcodes for the no-output variant. DAG combiner can then transform the node before it gets to target node selection.
      
      Problem #2 is we are adding a whole bunch of x86 atomic instructions when in fact these instructions are identical to the non-lock versions. We need a way to add target specific information to target nodes and have this information carried over to machine instructions. Asm printer (or JIT) can use this information to add the "lock" prefix.
      
      llvm-svn: 77582
      e62288fd
    • Dan Gohman's avatar
      Add a new register class to describe operands that can't be SP, · 49a6f16b
      Dan Gohman authored
      due to x86 encoding restrictions. This is currently off by default
      because it may cause code quality regressions. This is for PR4572.
      
      llvm-svn: 77565
      49a6f16b
  14. Jul 24, 2009
  15. Jul 22, 2009
  16. Jul 21, 2009
  17. Jul 11, 2009
  18. Jun 30, 2009
    • David Greene's avatar
      · 50475de6
      David Greene authored
      Add 256-bit memory operand support.
      
      llvm-svn: 74548
      50475de6
  19. Jun 27, 2009
    • David Greene's avatar
      · 8f6f72cc
      David Greene authored
      Add feature flags for AVX and FMA and fix some SSE4A feature flag
      initialization problems.
      
      llvm-svn: 74350
      8f6f72cc
  20. Jun 24, 2009
  21. Jun 20, 2009
  22. Jun 19, 2009
  23. Jun 15, 2009
  24. Jun 03, 2009
  25. Jun 02, 2009
    • Evan Cheng's avatar
      448641d8
    • Dale Johannesen's avatar
      Revert 72707 and 72709, for the moment. · 5234d379
      Dale Johannesen authored
      llvm-svn: 72712
      5234d379
    • Dale Johannesen's avatar
      Make the implicit inputs and outputs of target-independent · 0b8ca792
      Dale Johannesen authored
      ADDC/ADDE use MVT::i1 (later, whatever it gets legalized to)
      instead of MVT::Flag.  Remove CARRY_FALSE in favor of 0; adjust
      all target-independent code to use this format.
      
      Most targets will still produce a Flag-setting target-dependent
      version when selection is done.  X86 is converted to use i32
      instead, which means TableGen needs to produce different code
      in xxxGenDAGISel.inc.  This keys off the new supportsHasI1 bit
      in xxxInstrInfo, currently set only for X86; in principle this
      is temporary and should go away when all other targets have
      been converted.  All relevant X86 instruction patterns are
      modified to represent setting and using EFLAGS explicitly.  The
      same can be done on other targets.
      
      The immediate behavior change is that an ADC/ADD pair are no
      longer tightly coupled in the X86 scheduler; they can be
      separated by instructions that don't clobber the flags (MOV).
      I will soon add some peephole optimizations based on using
      other instructions that set the flags to feed into ADC.
      
      llvm-svn: 72707
      0b8ca792
Loading