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
This commit is contained in:
Anders Waldenborg 2013-10-29 09:37:28 +00:00
parent 7959f209ba
commit 72202297a9

View File

@ -1262,8 +1262,8 @@ void LLVMSetAlignment(LLVMValueRef V, unsigned Bytes) {
LI->setAlignment(Bytes);
else if (StoreInst *SI = dyn_cast<StoreInst>(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 ......................................--*/