1. Sep 26, 2023
  2. Sep 25, 2023
    • Austin Kerbow's avatar
      [AMDGPU] Add IR lowering changes for preloaded kernargs · 7b70af29
      Austin Kerbow authored
      Preloaded kernel arguments should not be lowered in the IR pass
      AMDGPULowerKernelArguments. Therefore it's necessary to calculate the
      total number of user SGPRs that are available for preloading and how
      many SGPRs would be required to preload each argument to determine
      whether we should skip lowering i.e. the argument will be preloaded
      instead.
      
      Reviewed By: bcahoon
      
      Differential Revision: https://reviews.llvm.org/D156853
      7b70af29
    • Nick Desaulniers's avatar
      [TargetLowering] Deduplicate choosing InlineAsm constraint between ISels (#67057) · 330fa7d2
      Nick Desaulniers authored
      Given a list of constraints for InlineAsm (ex. "imr") I'm looking to
      modify the order in which they are chosen. Before doing so, I noticed a
      fair
      amount of logic is duplicated between SelectionDAGISel and GlobalISel
      for this.
      
      That is because SelectionDAGISel is also trying to lower immediates
      during selection. If we detangle these concerns into:
      1. choose the preferred constraint
      2. attempt to lower that constraint
      
      Then we can slide down the list of constraints until we find one that
      can be lowered. That allows the implementation to be shared between
      instruction selection frameworks.
      
      This makes it so that later I might only need to adjust the priority of
      constraints in one place, and have both selectors behave the same.
      330fa7d2
    • Ivan Kosarev's avatar
      [AMDGPU][NFC] Add True16 operand definitions. · 9310baa5
      Ivan Kosarev authored
      Reviewed By: Joe_Nash
      
      Differential Revision: https://reviews.llvm.org/D156103
      9310baa5