diff options
author | Anders Waldenborg <anders@0x63.nu> | 2013-10-29 09:37:28 +0000 |
---|---|---|
committer | Anders Waldenborg <anders@0x63.nu> | 2013-10-29 09:37:28 +0000 |
commit | a36a7825fbcd9c8d8147ee00334569c976199ba9 (patch) | |
tree | 054f721fcd91c6880be5531fba74eaee14122109 /llvm/lib/IR/Core.cpp | |
parent | 213a63fe53fc93f2cb3ba3b70048e6599350f24b (diff) | |
download | bcm5719-llvm-a36a7825fbcd9c8d8147ee00334569c976199ba9.tar.gz bcm5719-llvm-a36a7825fbcd9c8d8147ee00334569c976199ba9.zip |
Fix misapplied patch in r193597
Sorry Peter Zotov, entirely my fault.
llvm-svn: 193598
Diffstat (limited to 'llvm/lib/IR/Core.cpp')
-rw-r--r-- | llvm/lib/IR/Core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/Core.cpp b/llvm/lib/IR/Core.cpp index f681b2e140b..56d28e42db7 100644 --- a/llvm/lib/IR/Core.cpp +++ b/llvm/lib/IR/Core.cpp @@ -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 ......................................--*/ |