diff options
Diffstat (limited to 'lib/IR')
-rw-r--r-- | lib/IR/Core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<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 ......................................--*/ |