diff options
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp index eafa2b6165e..65db206e570 100644 --- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -918,6 +918,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> { case SequentiallyConsistent: return SequentiallyConsistent; } + llvm_unreachable("Unknown ordering"); } AtomicOrdering addAcquireOrdering(AtomicOrdering a) { @@ -934,6 +935,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> { case SequentiallyConsistent: return SequentiallyConsistent; } + llvm_unreachable("Unknown ordering"); } // ------------------- Visitors. |