storeinst ctor takes isvolatile before alignment. With this, 176.gcc roundtrips

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-05-04 03:57:30 +00:00
parent 1d1f9ade54
commit 964b5f2701

View File

@ -1423,7 +1423,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
Value *Ptr = getFnValueByID(Record[2], OpTy);
if (!OpTy || !Op || !Ptr)
return Error("Invalid STORE record");
I = new StoreInst(Op, Ptr, (1 << Record[3]) >> 1, Record[4]);
I = new StoreInst(Op, Ptr, Record[4], (1 << Record[3]) >> 1);
break;
}
case bitc::FUNC_CODE_INST_CALL: { // CALL: [cc, fnty, fnid, arg0, arg1...]