[all-commits] [llvm/llvm-project] 1fdb03: CodeGen: Add constexpr to Register constructors

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Mar 12 16:12:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fdb03808b016a7334f99230d312ff8b5ee45b3a
      https://github.com/llvm/llvm-project/commit/1fdb03808b016a7334f99230d312ff8b5ee45b3a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-12 (Thu, 12 Mar 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/Register.h
    M llvm/include/llvm/MC/MCRegister.h

  Log Message:
  -----------
  CodeGen: Add constexpr to Register constructors


  Commit: ccc6e780c8fa769fc503f193d27a1ef356f6355d
      https://github.com/llvm/llvm-project/commit/ccc6e780c8fa769fc503f193d27a1ef356f6355d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-12 (Thu, 12 Mar 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
    M llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-attribute-missing.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-nested-function-calls.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-prevent-attribute-propagation.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-propagate-attribute.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-recursion-test.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-test.ll

  Log Message:
  -----------
  AMDGPU: Directly annotate functions if they have calls

Currently we infer whether the flat-scratch-init kernel input should
be enabled based on calls. Move this handling, so we can decide if the
full set of ABI inputs is needed in kernels. Ideally we would have an
analysis of some sort, rather than the function attributes.


Compare: https://github.com/llvm/llvm-project/compare/7266a8bfeb85...ccc6e780c8fa


More information about the All-commits mailing list