[PATCH] D107574: [GlobalOpt] [MemoryBuiltins] Update getMallocType with bitcast on stored pointer
    Nikita Popov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Aug 10 14:17:14 PDT 2021
    
    
  
nikic added a comment.
Would it be possible to drop getMallocType, only keep getMallocAllocatedType, and determine the type based on the value type of a (possibly bitcasted) store to the address? That would be forward compatible with opaque pointers.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107574/new/
https://reviews.llvm.org/D107574
    
    
More information about the llvm-commits
mailing list