[all-commits] [llvm/llvm-project] 6a767f: [AMDGPU] Precommit tests for D156308

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Jul 26 04:21:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a767fbc36a37a8731a313b47208069b708dccf5
      https://github.com/llvm/llvm-project/commit/6a767fbc36a37a8731a313b47208069b708dccf5
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/promote-alloca-subvecs.ll

  Log Message:
  -----------
  [AMDGPU] Precommit tests for D156308

Also includes another testcase that's unrelated, it's just a sanity check.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D156309


  Commit: a8aabba5872aeaa57fbc71fdfde025d70d11deb0
      https://github.com/llvm/llvm-project/commit/a8aabba5872aeaa57fbc71fdfde025d70d11deb0
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/test/CodeGen/AMDGPU/promote-alloca-subvecs.ll

  Log Message:
  -----------
  [AMDGPU] Fix PromoteAlloca Subvector Stores for Single Elements

The previous condition was incorrect in some cases, like storing <2 x i32>
into a double. If IndexVal was >0, we ended up never storing anything.

Reviewed By: #amdgpu, arsenm

Differential Revision: https://reviews.llvm.org/D156308


Compare: https://github.com/llvm/llvm-project/compare/c50f335ba556...a8aabba5872a


More information about the All-commits mailing list