forked from OSchip/llvm-project
parent
18aa54cbae
commit
6a0baa8f09
|
@ -780,7 +780,7 @@ static int AnalyzeLoadFromClobberingWrite(Type *LoadTy, Value *LoadPtr,
|
|||
Value *WritePtr,
|
||||
uint64_t WriteSizeInBits,
|
||||
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.
|
||||
if (LoadTy->isStructTy() || LoadTy->isArrayTy())
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue