mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-23 04:35:43 +00:00
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:
parent
7959f209ba
commit
72202297a9
@ -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 ......................................--*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user