[PATCH] D149289: GlobalOpt: Drop code to handle typed pointers

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 26 13:40:16 PDT 2023


arsenm created this revision.
arsenm added reviewers: jhuber6, aeubanks, nikic, jdoerfert, fhahn.
Herald added subscribers: hoy, ormris, StephenFan, hiraditya, arichardson.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

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


https://reviews.llvm.org/D149289

Files:
  llvm/lib/Transforms/IPO/GlobalOpt.cpp
  llvm/test/Transforms/GlobalOpt/issue62384.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149289.517298.patch
Type: text/x-patch
Size: 6485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230426/6681ff68/attachment.bin>


More information about the llvm-commits mailing list