[all-commits] [llvm/llvm-project] 3f199c: [SROA] Add test for #64081 (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Dec 22 01:19:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f199cb14c7c0fbfe0d33bc5a04f356f35259bf4
      https://github.com/llvm/llvm-project/commit/3f199cb14c7c0fbfe0d33bc5a04f356f35259bf4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    A llvm/test/Transforms/SROA/pr64081.ll

  Log Message:
  -----------
  [SROA] Add test for #64081 (NFC)


  Commit: 54067c5fbe9fc13ab195cdddb8f17e18d72b5fe4
      https://github.com/llvm/llvm-project/commit/54067c5fbe9fc13ab195cdddb8f17e18d72b5fe4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

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

  Log Message:
  -----------
  [SROA] Use memcpy if type size does not match store size

The original memcpy also copies the padding, so make sure that
this is still the case after splitting.

Fixes https://github.com/llvm/llvm-project/issues/64081.


Compare: https://github.com/llvm/llvm-project/compare/0d903b689ab9...54067c5fbe9f


More information about the All-commits mailing list