[CoroSplit] Avoid pointer element type accesses
authorNikita Popov <npopov@redhat.com>
Fri, 21 Jan 2022 11:20:23 +0000 (12:20 +0100)
committerNikita Popov <npopov@redhat.com>
Fri, 21 Jan 2022 11:22:09 +0000 (12:22 +0100)
commit9c5b856dac5c0ccbe755410b826f683ef01d7f08
tree2dde9c3f5ece66803547465ed3a400baf7a6655e
parentf53d359816e66a107195e1e4b581e2a33bbafaa4
[CoroSplit] Avoid pointer element type accesses

Use isOpaqueOrPointeeTypeMatches() for the assertions instead.
llvm/lib/Transforms/Coroutines/CoroSplit.cpp