[all-commits] [llvm/llvm-project] b7503a: [AMDGPU] Clear BreakPhiNodesCache in-between funct...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Fri Aug 11 06:23:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7503ae8a07eb557ca7a46d14119463c2c4a8a56
      https://github.com/llvm/llvm-project/commit/b7503ae8a07eb557ca7a46d14119463c2c4a8a56
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2023-08-11 (Fri, 11 Aug 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp

  Log Message:
  -----------
  [AMDGPU] Clear BreakPhiNodesCache in-between functions

Otherwise stale pointers pollute the cache and
when a dead PHI's memory is reused for another PHI, we can get a false positive hit in the cache.

Reviewed By: arsenm

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




More information about the All-commits mailing list