mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Remove 'else' after 'return'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177607 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8755ae8c69
commit
7f19e5db5f
@ -123,7 +123,8 @@ AliasAnalysis::ModRefResult GetLocation(const Instruction *Inst,
|
||||
if (LI->isUnordered()) {
|
||||
Loc = AA->getLocation(LI);
|
||||
return AliasAnalysis::Ref;
|
||||
} else if (LI->getOrdering() == Monotonic) {
|
||||
}
|
||||
if (LI->getOrdering() == Monotonic) {
|
||||
Loc = AA->getLocation(LI);
|
||||
return AliasAnalysis::ModRef;
|
||||
}
|
||||
@ -135,7 +136,8 @@ AliasAnalysis::ModRefResult GetLocation(const Instruction *Inst,
|
||||
if (SI->isUnordered()) {
|
||||
Loc = AA->getLocation(SI);
|
||||
return AliasAnalysis::Mod;
|
||||
} else if (SI->getOrdering() == Monotonic) {
|
||||
}
|
||||
if (SI->getOrdering() == Monotonic) {
|
||||
Loc = AA->getLocation(SI);
|
||||
return AliasAnalysis::ModRef;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user