mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
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:
parent
1d1f9ade54
commit
964b5f2701
@ -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…
Reference in New Issue
Block a user