mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 10:54:42 +00:00
storeinst ctor takes isvolatile before alignment. With this, 176.gcc roundtrips
llvm-svn: 36738
This commit is contained in:
parent
c0f186afab
commit
f403c9a42c
@ -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...]
|
||||
|
Loading…
x
Reference in New Issue
Block a user