[all-commits] [llvm/llvm-project] 9a41a8: [AMDGPU] Handle object size and bail if assume-lik...

Mariusz Sikora via All-commits all-commits at lists.llvm.org
Tue Dec 19 22:48:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a41a80e76e7b968cbec443faa2ad25384f01d6c
      https://github.com/llvm/llvm-project/commit/9a41a80e76e7b968cbec443faa2ad25384f01d6c
  Author: Mariusz Sikora <mariusz.sikora at amd.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

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

  Log Message:
  -----------
  [AMDGPU] Handle object size and bail if assume-like intrinsic is used in PromoteAllocaToVector (#68744)

Attached test will cause crash without this change.

We should not remove isAssumeLikeIntrinsic instruction if it is used by
other instruction.




More information about the All-commits mailing list