From 72202297a90563ec3eedd3015395c8d1a8db0a87 Mon Sep 17 00:00:00 2001 From: Anders Waldenborg Date: Tue, 29 Oct 2013 09:37:28 +0000 Subject: Fix misapplied patch in r193597 Sorry Peter Zotov, entirely my fault. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193598 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/Core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/IR') diff --git a/lib/IR/Core.cpp b/lib/IR/Core.cpp index f681b2e140..56d28e42db 100644 --- a/lib/IR/Core.cpp +++ b/lib/IR/Core.cpp @@ -1262,8 +1262,8 @@ void LLVMSetAlignment(LLVMValueRef V, unsigned Bytes) { LI->setAlignment(Bytes); else if (StoreInst *SI = dyn_cast(P)) SI->setAlignment(Bytes); - - llvm_unreachable("only GlobalValue, LoadInst and StoreInst have alignment"); + else + llvm_unreachable("only GlobalValue, LoadInst and StoreInst have alignment"); } /*--.. Operations on global variables ......................................--*/ -- cgit v1.2.3