1. Oct 20, 2021
  2. Oct 19, 2021
    • Kazu Hirata's avatar
      cf68e1b2
    • Michał Górny's avatar
      [lldb] [Process/Utility] Define dN regs on ARM via helper macro · b492b0be
      Michał Górny authored
      Use FPU_REG macro to define dN registers, removing the wrong value_regs
      while at it.  This is a piece-wise attempt of reconstructing D112066
      with the goal of figuring out which part of the larger change breaks
      the buildbot.
      
      Differential Revision: https://reviews.llvm.org/D112066
      b492b0be
    • Jamie Schmeiser's avatar
      Changes to print-changed classes in preparation for DotCfg change printer · 3af474c0
      Jamie Schmeiser authored
      Summary:
      Break out non-functional changes to the print-changed classes that are needed
      for reuse with the DotCfg change printer in https://reviews.llvm.org/D87202.
      
      Various changes to the change printers to facilitate reuse with the
      upcoming DotCfg change printer. This includes changing several of
      the classes and their support classes to being templates. Also,
      some template parameter names were simplified to avoid confusion
      with planned identifiers in the DotCfg change printer to come. A
      virtual function in the class for comparing functions was changed
      to a lambda. The virtual function same was replaced with calls to
      operator==. The only intentional functional change was to add the exe name
      as the first parameter to llvm::sys::ExecuteAndWait
      
      Author: Jamie Schmeiser <schmeise@ca.ibm.com>
      Reviewed By: aeubanks (Arthur Eubanks)
      Differential Revision: https://reviews.llvm.org/D110737
      3af474c0
    • David Sherwood's avatar
      [AArch64] Split out processor/tuning features · 5ea35791
      David Sherwood authored
      Following on from an earlier patch that introduced support for -mtune
      for AArch64 backends, this patch splits out the tuning features
      from the processor features. This gives us the ability to enable
      architectural feature set A for a given processor with "-mcpu=A"
      and define the set of tuning features B with "-mtune=B".
      
      It's quite difficult to write a test that proves we select the
      right features according to the tuning attribute because most
      of these relate to scheduling. I have created a test here:
      
        CodeGen/AArch64/misched-fusion-addr-tune.ll
      
      that demonstrates the different scheduling choices based upon
      the tuning.
      
      Differential Revision: https://reviews.llvm.org/D111551
      5ea35791
    • David Sherwood's avatar
      23db763b
    • Shraiysh Vaishay's avatar
      [MLIR][OpenMP][NFC] Moved Synchronization Hint related functions · 10e08784
      Shraiysh Vaishay authored
      The functions are moved above the parseClauses function as they
      will be used inside it to parse `hint` clause
      
      Reviewed By: clementval
      
      Differential Revision: https://reviews.llvm.org/D112071
      10e08784
    • Amy Kwan's avatar
      [PowerPC] Restrict various P10 options to P10 only. · 5eaf5b91
      Amy Kwan authored
      This patch attempts to restrict the following P10 options:
      ```
      -mprefixed
      -mpcrel
      -mpaired-vector-memops
      ```
      To P10 only. This will prevent the use of these options on P9 and earlier.
      
      The behaviour of this patch looks like the following on pre-P10:
      ```
      $ clang -mcpu=pwr9 -mpaired-vector-memops test.c -o test
      error: option '-mpaired-vector-memops' cannot be specified without '-mcpu=pwr10'
      $ clang -mcpu=pwr9 -mprefixed test.c -o test
      error: option '-mprefixed' cannot be specified without '-mcpu=pwr10'
      $ clang -mcpu=pwr9 -mprefixed -mpcrel test.c -o test
      error: option '-mpcrel' cannot be specified without '-mcpu=pwr10 -mprefixed'
      $ clang -mcpu=pwr9 -mpcrel -mprefixed test.c -o test
      error: option '-mpcrel' cannot be specified without '-mcpu=pwr10 -mprefixed'
      $ clang -mcpu=pwr9 -mpcrel test.c -o test
      error: option '-mpcrel' cannot be specified without '-mcpu=pwr10 -mprefixed'
      ```
      
      Differential Revision: https://reviews.llvm.org/D109652
      5eaf5b91
    • David Sherwood's avatar
      [AArch64] Always add -tune-cpu argument to -cc1 driver · 607fb1bb
      David Sherwood authored
      This patch ensures that we always tune for a given CPU on AArch64
      targets when the user specifies the "-mtune=xyz" flag. In the
      AArch64Subtarget if the tune flag is unset we use the CPU value
      instead.
      
      I've updated the release notes here:
      
        llvm/docs/ReleaseNotes.rst
      
      and added tests here:
      
        clang/test/Driver/aarch64-mtune.c
      
      Differential Revision: https://reviews.llvm.org/D110258
      607fb1bb