diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index 612b7630728656a20cae6eae1f96e5627425a3c9..8966bbe1dd3e9fdc404184d5344102b05e028352 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/lib/VMCore/Instructions.cpp @@ -3239,7 +3239,7 @@ LoadInst *LoadInst::clone_impl() const { } StoreInst *StoreInst::clone_impl() const { - return new StoreInst(getOperand(0), getOperand(1),isVolatile(), + return new StoreInst(getOperand(0), getOperand(1), isVolatile(), getAlignment(), getOrdering(), getSynchScope()); }