diff options
author | Arthur Eubanks <aeubanks@google.com> | 2021-03-29 17:02:41 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2021-04-05 19:53:40 -0700 |
commit | ea0e2ca1acb20781515c23850ec1ee7476909b2f (patch) | |
tree | 365c2f0c43f02a2775f47eb81510b62f3e9aec23 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | 13deb6aac723e5694d404f21ee136e9773eb27a6 (diff) | |
download | llvm-ea0e2ca1acb20781515c23850ec1ee7476909b2f.zip llvm-ea0e2ca1acb20781515c23850ec1ee7476909b2f.tar.gz llvm-ea0e2ca1acb20781515c23850ec1ee7476909b2f.tar.bz2 |
[SROA] Allow SROA on pointers with invariant group intrinsic uses
When we are able to SROA an alloca, we know all uses of it, meaning we
don't have to preserve the invariant group intrinsics and metadata.
It's possible that we could lose information regarding redundant
loads/stores, but that's unlikely to have any real impact since right
now the only user is Clang and vtables.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D99760
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions