[all-commits] [llvm/llvm-project] d96491: [MLIR][LLVM][SROA] Fix pointer escape through stor...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Fri Mar 22 08:00:58 PDT 2024


  Branch: refs/heads/users/dinistro/sroa-store-memory-escape-bug
  Home:   https://github.com/llvm/llvm-project
  Commit: d96491c9fe575bbc3042cdfcc6f8c7e2b33d3ef6
      https://github.com/llvm/llvm-project/commit/d96491c9fe575bbc3042cdfcc6f8c7e2b33d3ef6
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
    M mlir/test/Dialect/LLVMIR/sroa.mlir

  Log Message:
  -----------
  [MLIR][LLVM][SROA] Fix pointer escape through stores bug

This commit resolves a SROA bug caused by not properly checking if a
llvm store operation writes the pointer to memory or not. Now, we do no
longer consider stores that use a slot pointer as a value to store as
fixable.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list