[PATCH] Teach SROA about addrspacecast.

Chandler Carruth chandlerc at gmail.com
Thu Jul 17 12:58:12 PDT 2014


The changes to PtrUseVisitor make sense (it's a generic tool) but I'm curious why the correct fix isn't to have instcombine nuke all addrspacecasts of allocas? They don't really make any sense to me...

http://reviews.llvm.org/D4501






More information about the llvm-commits mailing list