[EarlyCSE] Support opaque pointers
authorNikita Popov <npopov@redhat.com>
Tue, 28 Dec 2021 15:00:33 +0000 (16:00 +0100)
committerNikita Popov <npopov@redhat.com>
Thu, 6 Jan 2022 16:08:50 +0000 (17:08 +0100)
commit918015c9ba1a7e416a2844a862d412de57d1e427
tree4076e99b3e0b4ef5ec3c075bf9a058c624ec047c
parente3e8799bebd0e624de21b9e93e358b9396bf4ace
[EarlyCSE] Support opaque pointers

Explicitly check the load/store value type, because this is no
longer implicitly checked through the pointer type.
llvm/lib/Transforms/Scalar/EarlyCSE.cpp
llvm/test/Transforms/EarlyCSE/opaque-ptr.ll [new file with mode: 0644]