diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2018-10-10 21:28:44 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2018-10-10 21:28:44 +0000 |
commit | 6ef8002c2ce4cb1120d42dcfbaa13b8baecc7c8b (patch) | |
tree | a869699384edc5b944ef606cb13eca39f0e0f794 /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | fdb732b56c62c1764ff48a352986caf36c22d450 (diff) | |
download | bcm5719-llvm-6ef8002c2ce4cb1120d42dcfbaa13b8baecc7c8b.tar.gz bcm5719-llvm-6ef8002c2ce4cb1120d42dcfbaa13b8baecc7c8b.zip |
Replace most users of UnknownSize with LocationSize::unknown(); NFC
Moving away from UnknownSize is part of the effort to migrate us to
LocationSizes (e.g. the cleanup promised in D44748).
This doesn't entirely remove all of the uses of UnknownSize; some uses
require tweaks to assume that UnknownSize isn't just some kind of int.
This patch is intended to just be a trivial replacement for all places
where LocationSize::unknown() will Just Work.
llvm-svn: 344186
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachinePipeliner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp index 5f6f0cf96a5..3d8510f7c0c 100644 --- a/llvm/lib/CodeGen/MachinePipeliner.cpp +++ b/llvm/lib/CodeGen/MachinePipeliner.cpp @@ -1136,9 +1136,9 @@ void SwingSchedulerDAG::addLoopCarriedDependences(AliasAnalysis *AA) { continue; } AliasResult AAResult = AA->alias( - MemoryLocation(MMO1->getValue(), MemoryLocation::UnknownSize, + MemoryLocation(MMO1->getValue(), LocationSize::unknown(), MMO1->getAAInfo()), - MemoryLocation(MMO2->getValue(), MemoryLocation::UnknownSize, + MemoryLocation(MMO2->getValue(), LocationSize::unknown(), MMO2->getAAInfo())); if (AAResult != NoAlias) { |