File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -3277,9 +3277,6 @@ bool DependenceInfo::tryDelinearizeFixedSize(
32773277 " Expected equal number of entries in the list of SrcSubscripts and "
32783278 " DstSubscripts." );
32793279
3280- Value *SrcPtr = getLoadStorePointerOperand (Src);
3281- Value *DstPtr = getLoadStorePointerOperand (Dst);
3282-
32833280 // In general we cannot safely assume that the subscripts recovered from GEPs
32843281 // are in the range of values defined for their corresponding array
32853282 // dimensions. For example some C language usage/interpretation make it
@@ -3296,8 +3293,8 @@ bool DependenceInfo::tryDelinearizeFixedSize(
32963293 }
32973294 LLVM_DEBUG ({
32983295 dbgs () << " Delinearized subscripts of fixed-size array\n "
3299- << " SrcGEP:" << *SrcPtr << " \n "
3300- << " DstGEP:" << *DstPtr << " \n " ;
3296+ << " SrcGEP:" << *getLoadStorePointerOperand (Src) << " \n "
3297+ << " DstGEP:" << *getLoadStorePointerOperand (Dst) << " \n " ;
33013298 });
33023299 return true ;
33033300}
You can’t perform that action at this time.
0 commit comments