[llvm] r231836 - LoopAccessAnalysis: Silence -Wreturn-type diagnostic from GCC
Adam Nemet
anemet at apple.com
Tue Mar 10 13:44:29 PDT 2015
Thanks, David!
> On Mar 10, 2015, at 1:23 PM, David Majnemer <david.majnemer at gmail.com> wrote:
>
> Author: majnemer
> Date: Tue Mar 10 15:23:29 2015
> New Revision: 231836
>
> URL: http://llvm.org/viewvc/llvm-project?rev=231836&view=rev
> Log:
> LoopAccessAnalysis: Silence -Wreturn-type diagnostic from GCC
>
> Modified:
> llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp
>
> Modified: llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp?rev=231836&r1=231835&r2=231836&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp (original)
> +++ llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp Tue Mar 10 15:23:29 2015
> @@ -580,6 +580,7 @@ bool MemoryDepChecker::Dependence::isSaf
> case BackwardVectorizableButPreventsForwarding:
> return false;
> }
> + llvm_unreachable("unexpected DepType!");
> }
>
> bool MemoryDepChecker::Dependence::isInterestingDependence(DepType Type) {
> @@ -595,6 +596,7 @@ bool MemoryDepChecker::Dependence::isInt
> case BackwardVectorizableButPreventsForwarding:
> return true;
> }
> + llvm_unreachable("unexpected DepType!");
> }
>
> bool MemoryDepChecker::Dependence::isPossiblyBackward() const {
> @@ -610,6 +612,7 @@ bool MemoryDepChecker::Dependence::isPos
> case BackwardVectorizableButPreventsForwarding:
> return true;
> }
> + llvm_unreachable("unexpected DepType!");
> }
>
> bool MemoryDepChecker::couldPreventStoreLoadForward(unsigned Distance,
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list