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

llvm-svn: 36738
This commit is contained in:
Chris Lattner 2007-05-04 03:57:30 +00:00
parent c0f186afab
commit f403c9a42c

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...]