[PATCH] D114832: [SROA] Improve SROA to prevent generating redundant coalescing operations.

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 2 14:20:15 PST 2021


luna updated this revision to Diff 391461.
luna added a comment.

Use `update_test_checks.py` to update test/Transforms/SROA/alloca-struct.ll.

1. In this revision, the `opt` used is built with this patch.
2. Test case `test_struct_of_int_char` and `test_one_field_has_runtime_value` should remain unchanged.
3. Diff of test case `test_struct_of_two_int` is shown in https://gist.github.com/minglotus-6/a05ac0300d8ea8204ec9eed409951b25/revisions


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114832/new/

https://reviews.llvm.org/D114832

Files:
  llvm/include/llvm/Transforms/Scalar/SROA.h
  llvm/lib/Transforms/Scalar/SROA.cpp
  llvm/test/Transforms/SROA/alloca-struct.ll
  llvm/test/Transforms/SROA/basictest-opaque-ptrs.ll
  llvm/test/Transforms/SROA/basictest.ll
  llvm/test/Transforms/SROA/big-endian.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114832.391461.patch
Type: text/x-patch
Size: 57758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211202/359b2afb/attachment.bin>


More information about the llvm-commits mailing list