Skip to content

Commit eb995e9

Browse files
committed
[Polly] Use LocationSize::unknown() (NFC)
Avoid MemoryLocation::UnknownSize when we're initializing a LocationSize.
1 parent a8d9d0b commit eb995e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polly/lib/Analysis/ScopDetection.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ bool ScopDetection::isValidAccess(Instruction *Inst, const SCEV *AF,
11291129
AAMDNodes AATags;
11301130
Inst->getAAMetadata(AATags);
11311131
AliasSet &AS = Context.AST.getAliasSetFor(
1132-
MemoryLocation(BP->getValue(), MemoryLocation::UnknownSize, AATags));
1132+
MemoryLocation(BP->getValue(), LocationSize::unknown(), AATags));
11331133

11341134
if (!AS.isMustAlias()) {
11351135
if (PollyUseRuntimeAliasChecks) {

0 commit comments

Comments
 (0)