From 0b69e363f65b9207d42213f546a9e2fa55c503be Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Wed, 31 May 2017 22:02:05 +0000 Subject: [PATCH] Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. llvm-svn: 304356 --- llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp index 66a0d145dcd8..188885063b39 100644 --- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -691,6 +691,7 @@ MemDepResult MemoryDependenceResults::getSimplePointerDependencyFrom( // load query, we can safely ignore it (scan past it). if (isLoad) continue; + LLVM_FALLTHROUGH; default: // Otherwise, there is a potential dependence. Return a clobber. return MemDepResult::getClobber(Inst);