diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-04 03:57:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-04 03:57:30 +0000 |
commit | 964b5f2701ff5c5bad942aae2661149002fad01e (patch) | |
tree | e964e4c2429a423b28008babae5bd9d1bdeb14f4 /lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 1d1f9ade541e43c57725cc6f5898d4891288a376 (diff) |
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
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r-- | lib/Bitcode/Reader/BitcodeReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index f546bb4891..cca8a51e10 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp @@ -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...] |