Skip to content
  1. Dec 19, 2011
  2. Dec 14, 2011
  3. 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
  4. Dec 12, 2011
  5. Dec 11, 2011
  6. Dec 09, 2011
  7. Dec 08, 2011
  8. Dec 07, 2011
  9. Dec 06, 2011
  10. Dec 05, 2011
  11. Dec 02, 2011
    • Nick Lewycky's avatar
      Move global variables in TargetMachine into new TargetOptions class. As an API · 50f02cb2
      Nick Lewycky authored
      change, now you need a TargetOptions object to create a TargetMachine. Clang
      patch to follow.
      
      One small functionality change in PTX. PTX had commented out the machine
      verifier parts in their copy of printAndVerify. That now calls the version in
      LLVMTargetMachine. Users of PTX who need verification disabled should rely on
      not passing the command-line flag to enable it.
      
      llvm-svn: 145714
      50f02cb2
  12. Nov 30, 2011
  13. Nov 29, 2011
Loading