Skip to content
Commit f101c0f7 authored by Jack Liu's avatar Jack Liu
Browse files

[SROA] 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

llvm-svn: 268424
parent 34fd4fb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment