mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
LoopAccessAnalysis: Silence -Wreturn-type diagnostic from GCC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fede77ae26
commit
3e616ba7b9
@ -580,6 +580,7 @@ bool MemoryDepChecker::Dependence::isSafeForVectorization(DepType Type) {
|
||||
case BackwardVectorizableButPreventsForwarding:
|
||||
return false;
|
||||
}
|
||||
llvm_unreachable("unexpected DepType!");
|
||||
}
|
||||
|
||||
bool MemoryDepChecker::Dependence::isInterestingDependence(DepType Type) {
|
||||
@ -595,6 +596,7 @@ bool MemoryDepChecker::Dependence::isInterestingDependence(DepType Type) {
|
||||
case BackwardVectorizableButPreventsForwarding:
|
||||
return true;
|
||||
}
|
||||
llvm_unreachable("unexpected DepType!");
|
||||
}
|
||||
|
||||
bool MemoryDepChecker::Dependence::isPossiblyBackward() const {
|
||||
@ -610,6 +612,7 @@ bool MemoryDepChecker::Dependence::isPossiblyBackward() const {
|
||||
case BackwardVectorizableButPreventsForwarding:
|
||||
return true;
|
||||
}
|
||||
llvm_unreachable("unexpected DepType!");
|
||||
}
|
||||
|
||||
bool MemoryDepChecker::couldPreventStoreLoadForward(unsigned Distance,
|
||||
|
Loading…
Reference in New Issue
Block a user