[all-commits] [llvm/llvm-project] 7071cd: Revert "[Transforms] Silence a warning in SROA.cpp...

Kirill Stoimenov via All-commits all-commits at lists.llvm.org
Thu Dec 12 13:35:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7071cd3885d06bc1ac388db0188468d135b37dfa
      https://github.com/llvm/llvm-project/commit/7071cd3885d06bc1ac388db0188468d135b37dfa
  Author: Kirill Stoimenov <kstoimenov at google.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

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

  Log Message:
  -----------
  Revert "[Transforms] Silence a warning in SROA.cpp (NFC)"

This reverts commit 5b077506de26b1dfce1926895548b86f2106bed9.


  Commit: e3676aa21f875c12d878726a1de1663ebf428cc2
      https://github.com/llvm/llvm-project/commit/e3676aa21f875c12d878726a1de1663ebf428cc2
  Author: Kirill Stoimenov <kstoimenov at google.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/PtrUseVisitor.h
    M llvm/include/llvm/Transforms/Utils/SSAUpdater.h
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/lib/Transforms/Utils/SSAUpdater.cpp
    M llvm/test/Transforms/SROA/non-capturing-call-readonly.ll
    M llvm/test/Transforms/SROA/readonlynocapture.ll

  Log Message:
  -----------
  Revert "[SROA] Optimize reloaded values in allocas that escape into readonly nocapture calls. (#116645)"

Causing buffer overflow:

SUMMARY: AddressSanitizer: heap-buffer-overflow llvm/lib/Transforms/Scalar/SROA.cpp:5552:35

This reverts commit 5e247d726d7a54cf0acc997bc17b50e7494e6fa3.


Compare: https://github.com/llvm/llvm-project/compare/379cc44f56e6...e3676aa21f87

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