forked from OSchip/llvm-project
parent
73390c7acd
commit
7673ba7ac2
|
@ -192,6 +192,7 @@ Instruction *InstCombiner::SimplifyMemTransfer(MemIntrinsic *MI) {
|
|||
L->setAlignment(SrcAlign);
|
||||
if (CopyMD)
|
||||
L->setMetadata(LLVMContext::MD_tbaa, CopyMD);
|
||||
|
||||
StoreInst *S = Builder->CreateStore(L, Dest, MI->isVolatile());
|
||||
S->setAlignment(DstAlign);
|
||||
if (CopyMD)
|
||||
|
|
Loading…
Reference in New Issue