[all-commits] [llvm/llvm-project] 2a7ed2: [SROA] Protect against calling the alloca ptr

David Green via All-commits all-commits at lists.llvm.org
Tue Dec 17 01:22:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a7ed2c1aaf5c84280d947eea56daaf302eb83d1
      https://github.com/llvm/llvm-project/commit/2a7ed2c1aaf5c84280d947eea56daaf302eb83d1
  Author: David Green <david.green at arm.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/test/Transforms/SROA/readonlynocapture.ll

  Log Message:
  -----------
  [SROA] Protect against calling the alloca ptr

In case we are calling the alloca ptr directly, check that the Use is a normal
operand to the call. Fortran is a funny language.



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