"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "005e8a06f239faf0e03caebbc96a22bed5974733"
[SelectionDAGBuilder] Hide existence of ConstantDataVector vector from visitGetElementPtr.
ConstantDataVector is a specialized verison of ConstantVector that stores data in a packed array of bits instead of as individual pointers to other Constants. But we really shouldn't expose that if we can void it. And we should handle regular ConstantVector equally well. This removes a dyn_cast to ConstantDataVector and just calls getSplatValue directly on a Constant* if the type is a vector. llvm-svn: 370018
Loading
Please register or sign in to comment