[PATCH] D106589: [GlobalOpt] support ConstantExpr use of global address for OptimizeGlobalAddressOfMalloc

Sterling Augustine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 2 13:27:04 PDT 2021


saugustine added a comment.

This patch caused the following error for me:

error: Explicit load/store type does not match pointee type of pointer operand (Producer: 'LLVMgoogle3-trunk' Reader: 'LLVM google3-trunk')

Unfortunately, the error gives no source-code line and the input file is giant and highly optimized. The fix in D10730 <https://reviews.llvm.org/D10730> doesn't help.

I'm working on a reduced test case, but it might take a while. If the error sparks any ideas, it would be good to hear them.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106589/new/

https://reviews.llvm.org/D106589



More information about the llvm-commits mailing list