Skip to content
  1. Dec 21, 2011
  2. Dec 20, 2011
  3. Dec 19, 2011
  4. Dec 14, 2011
  5. Dec 13, 2011
    • Akira Hatanaka's avatar
      Expand .cprestore directive to multiple instructions if the offset does not fit · 5e9d16cb
      Akira Hatanaka authored
      in a 16-bit field.
      
      llvm-svn: 146469
      5e9d16cb
    • Chandler Carruth's avatar
      Initial CodeGen support for CTTZ/CTLZ where a zero input produces an · 637cc6a8
      Chandler Carruth authored
      undefined result. This adds new ISD nodes for the new semantics,
      selecting them when the LLVM intrinsic indicates that the undef behavior
      is desired. The new nodes expand trivially to the old nodes, so targets
      don't actually need to do anything to support these new nodes besides
      indicating that they should be expanded. I've done this for all the
      operand types that I could figure out for all the targets. Owners of
      various targets, please review and let me know if any of these are
      incorrect.
      
      Note that the expand behavior is *conservatively correct*, and exactly
      matches LLVM's current behavior with these operations. Ideally this
      patch will not change behavior in any way. For example the regtest suite
      finds the exact same instruction sequences coming out of the code
      generator. That's why there are no new tests here -- all of this is
      being exercised by the existing test suite.
      
      Thanks to Duncan Sands for reviewing the various bits of this patch and
      helping me get the wrinkles ironed out with expanding for each target.
      Also thanks to Chris for clarifying through all the discussions that
      this is indeed the approach he was looking for. That said, there are
      likely still rough spots. Further review much appreciated.
      
      llvm-svn: 146466
      637cc6a8
  6. Dec 12, 2011
  7. Dec 11, 2011
  8. Dec 09, 2011
  9. Dec 08, 2011
Loading