This project is mirrored from https://github.com/llvm-doe-org/llvm-project.git. Pull mirroring updated .
  1. 17 Jun, 2020 36 commits
  2. 16 Jun, 2020 4 commits
    • Daniel Sanders's avatar
      [gicombiner] Allow disable-rule option to disable all-except-... · 778db887
      Daniel Sanders authored
      Summary:
      Adds two features to the generated rule disable option:
      - '*' - Disable all rules
      - '!<foo>' - Re-enable rule(s)
        - '!foo' - Enable rule named 'foo'
        - '!5' - Enable rule five
        - '!4-9' - Enable rule four to nine
        - '!foo-bar' - Enable rules from 'foo' to (and including) 'bar'
      (the '!' is available to the generated disable option but is not part of the underlying and determines whether to call setRuleDisabled() or setRuleEnabled())
      
      This is intended to support unit testing of combine rules so
      that you can do:
        GeneratedCfg.setRuleDisabled("*")
        GeneratedCfg.setRuleEnabled("foo")
      to ensure only a specific rule is in effect. The rule is still
      required to be included in a combiner though
      
      Also added --...-only-enable-rule=X,Y which is effectively an
      alias for --...-disable-rule=*,!X,!Y and as such interacts
      properly with disable-rule.
      
      Reviewers: aditya_nandakumar, bogner, volkan, aemerson, paquette, arsenm
      
      Subscribers: wdng, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D81889
      778db887
    • Lucy Fox's avatar
    • Christopher Tetreault's avatar
      [SVE] Generalize size checks in Verifier to use getElementCount · 8e204f80
      Christopher Tetreault authored
      Summary:
      Attempts to call getNumElements on scalable vectors identified by test
      LLVM.Other::scalable-vectors-core-ir.ll. Since these checks are all
      attempting to find if two vectors are the same size, calling
      getElementCount will only increase safety.
      
      Reviewers: efriedma, aprantl, reames, kmclaughlin, sdesmalen
      
      Reviewed By: efriedma
      
      Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D81895
      8e204f80
    • Saleem Abdulrasool's avatar
      lld: remove old test support path · 73312976
      Saleem Abdulrasool authored
      This removes the stub library that lld injected to satisfy the
      dependency on the libSystem.  Now with TBD support, we can provide the
      stub library to permit the tests to function properly as they would on a
      real system.
      
      Reviewed By: smeenai
      Differential Revision: https://reviews.llvm.org/D81418
      73312976