1. Jun 23, 2019
    • Philip Reames's avatar
      Exploit a zero LoopExit count to eliminate loop exits · 8deb84c8
      Philip Reames authored
      This turned out to be surprisingly effective. I was originally doing this just for completeness sake, but it seems like there are a lot of cases where SCEV's exit count reasoning is stronger than it's isKnownPredicate reasoning.
      
      Once this is in, I'm thinking about trying to build on the same infrastructure to eliminate provably untaken checks. There may be something generally interesting here.
      
      Differential Revision: https://reviews.llvm.org/D63618
      
      llvm-svn: 364135
      8deb84c8
    • Don Hinton's avatar
      [CommandLine] Remove OptionCategory and SubCommand caches from the Option class. · a5b83bc9
      Don Hinton authored
      Summary:
      This change processes `OptionCategory`s and `SubCommand`s as they
       are seen instead of caching them in the Option class and processing
      them later.  Doing so simplifies the work needed to be done by the Global
      parser and significantly reduces the size of the Option class to a mere 64
      bytes.
      
      Removing  the `OptionCategory` cache saved 24 bytes, and removing
      the `SubCommand` cache saved an additional 48 bytes, for a total of a
      72 byte reduction.
      
      Reviewers: beanz, zturner, MaskRay, serge-sans-paille
      
      Reviewed By: serge-sans-paille
      
      Subscribers: serge-sans-paille, tstellar, zturner, hiraditya, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D62105
      
      llvm-svn: 364134
      a5b83bc9
    • Hubert Tong's avatar
      [NFC] Fix indentation in PPCAsmPrinter.cpp · 6f3222ed
      Hubert Tong authored
      After r248261, the indentation switches, inside a namespace definition,
      between indenting and not indenting one level in for that namespace; the
      abomination occurs in the middle of a class definition. Fix that.
      
      llvm-svn: 364133
      6f3222ed
    • Hubert Tong's avatar
      [PowerPC][NFC] Move comment to the relevant function · d801cb1f
      Hubert Tong authored
      A comment that applies to a virtual destructor was placed on a class
      constructor. Move the comment to where it belongs.
      
      llvm-svn: 364132
      d801cb1f
  2. Jun 22, 2019