[PATCH] D19697: SROA assertion: creating bitcast between ptr types with different addr spaces
Jack Liu via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 11:20:37 PDT 2016
liu12295 closed this revision.
liu12295 added a comment.
r268409
Function canConvertValue needs to check whether both NewTy and OldTy pointers are
pointing to the same addr space. This can prevent SROA from creating a bitcast
between pointers with different addr spaces.
Differential Revision: http://reviews.llvm.org/D19697
http://reviews.llvm.org/D19697
More information about the llvm-commits
mailing list