1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-svn: 149289
This commit is contained in:
Chad Rosier 2012-01-30 22:44:13 +00:00
parent 908361b6a5
commit 6e1866cd0a

View File

@ -780,7 +780,7 @@ static int AnalyzeLoadFromClobberingWrite(Type *LoadTy, Value *LoadPtr,
Value *WritePtr, Value *WritePtr,
uint64_t WriteSizeInBits, uint64_t WriteSizeInBits,
const TargetData &TD) { const TargetData &TD) {
// If the loaded or stored value is an first class array or struct, don't try // If the loaded or stored value is a first class array or struct, don't try
// to transform them. We need to be able to bitcast to integer. // to transform them. We need to be able to bitcast to integer.
if (LoadTy->isStructTy() || LoadTy->isArrayTy()) if (LoadTy->isStructTy() || LoadTy->isArrayTy())
return -1; return -1;