Skip to content
  1. Aug 21, 2013
  2. Aug 19, 2013
  3. Aug 16, 2013
  4. Aug 14, 2013
  5. Aug 13, 2013
    • Hans Wennborg's avatar
      Options: Add new option kind that consumes remaining arguments · d505fbf4
      Hans Wennborg authored
      This adds KIND_REMAINING_ARGS, a class of options that consume
      all remaining arguments on the command line.
      
      This will be used to support /link in clang-cl, which is used
      to forward all remaining arguments to the linker.
      
      It also allows us to remove the hard-coded handling of "--",
      allowing clients (clang and lld) to implement that functionality
      themselves with this new option class.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1387
      
      llvm-svn: 188314
      d505fbf4
    • Nick Lewycky's avatar
      Fix an oversight in isPotentiallyReachable where we wouldn't do any CFG-walking · 8d2e86db
      Nick Lewycky authored
      to find loops if the From and To instructions were in the same block.
      
      Refactor the code a little now that we need to fill to start the CFG-walking
      algorithm with more than one starting basic block sometimes.
      
      Special thanks to Andrew Trick for catching an error in my understanding of
      natural loops in code review.
      
      llvm-svn: 188236
      8d2e86db
  6. Aug 12, 2013
  7. Aug 08, 2013
  8. Aug 07, 2013
  9. Aug 05, 2013
  10. Aug 03, 2013
  11. Aug 02, 2013
  12. Aug 01, 2013
    • Sean Silva's avatar
      Update incorrect file headers. · d544a9dc
      Sean Silva authored
      One of these was spotted in review by Rafael.
      
      llvm-svn: 187598
      d544a9dc
    • Hans Wennborg's avatar
      Option parsing: remove non-SUPPORT_ALIASARGS fall-back · 8669b974
      Hans Wennborg authored
      The clients of this code have been updated to all support AliasArgs.
      
      This depends on Clang r187538 and lld r187541.
      
      llvm-svn: 187546
      8669b974
    • Hans Wennborg's avatar
      Option parsing: add support for alias arguments. · 5fdcf868
      Hans Wennborg authored
      This makes option aliases more powerful by enabling them to
      pass along arguments to the option they're aliasing.
      
      For example, if we have a joined option "-foo=", we can now
      specify a flag option "-bar" to be an alias of that, with the
      argument "baz".
      
      This is especially useful for the cl.exe compatible clang driver,
      where many options are aliases. For example, this patch enables
      us to alias "/Ox" to "-O3" (-O is a joined option), and "/WX" to
      "-Werror" (again, -W is a joined option).
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1245
      
      llvm-svn: 187537
      5fdcf868
  13. Jul 31, 2013
  14. Jul 30, 2013
  15. Jul 29, 2013
  16. Jul 27, 2013
  17. Jul 26, 2013
    • Bill Schmidt's avatar
      [PowerPC] Improve consistency in use of __ppc__, __powerpc__, etc. · 419f7c23
      Bill Schmidt authored
      Both GCC and LLVM will implicitly define __ppc__ and __powerpc__ for
      all PowerPC targets, whether 32- or 64-bit.  They will both implicitly
      define __ppc64__ and __powerpc64__ for 64-bit PowerPC targets, and not
      for 32-bit targets.  We cannot be sure that all other possible
      compilers used to compile Clang/LLVM define both __ppc__ and
      __powerpc__, for example, so it is best to check for both when relying
      on either inside the Clang/LLVM code base.
      
      This patch makes sure we always check for both variants.  In addition,
      it fixes one unnecessary check in lib/Target/PowerPC/PPCJITInfo.cpp.
      (At least one of __ppc__ and __powerpc__ should always be defined when
      compiling for a PowerPC target, no matter which compiler is used, so
      testing for them is unnecessary.)
      
      There are some places in the compiler that check for other variants,
      like __POWERPC__ and _POWER, and I have left those in place.  There is
      no need to add them elsewhere.  This seems to be in Apple-specific
      code, and I won't take a chance on breaking it.
      
      There is no intended change in behavior; thus, no test cases are
      added.
      
      llvm-svn: 187248
      419f7c23
Loading