Fixes assert with pointers with different address spaces. We
could keep looking through addrspacecast, but it would require
checking for null handling of the access address space.
Fixes #62384
Paths
| Differential D149289
GlobalOpt: Drop code to handle typed pointers ClosedPublic Authored by arsenm on Apr 26 2023, 1:40 PM.
Details
Diff Detail Event Timeline
arsenm added a child revision: D149291: GlobalOpt: Drop code for handling pointer bitcasts.Apr 26 2023, 1:43 PM
This revision is now accepted and ready to land.Apr 26 2023, 6:55 PM
Revision Contents
Diff 517315 llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/test/Transforms/GlobalOpt/issue62384.ll
|
Why does this need ipsccp and called-value-propagation?