[all-commits] [llvm/llvm-project] a0266a: [MLIR][LLVM][SROA] Avoid splitting dynamically ind...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Tue Mar 19 02:37:22 PDT 2024


  Branch: refs/heads/users/dinistro/no-dynamic-gep-in-sroa
  Home:   https://github.com/llvm/llvm-project
  Commit: a0266a513520df8eb3113d0bae88211102a4e1e4
      https://github.com/llvm/llvm-project/commit/a0266a513520df8eb3113d0bae88211102a4e1e4
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

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

  Log Message:
  -----------
  [MLIR][LLVM][SROA] Avoid splitting dynamically indexed allocas

This commit ensures that SROA does no longer attempt to split allocas
that are indexed into dynamically. Dynamic indices into arrays are
allowed to be negative or out-of-bounds, when the alloca containing the
array has memory backing these produced indices.



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