[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp

Chris Lattner sabre at nondot.org
Thu May 3 20:57:48 PDT 2007



Changes in directory llvm/lib/Bitcode/Reader:

BitcodeReader.cpp updated: 1.35 -> 1.36
---
Log message:

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


---
Diffs of the changes:  (+1 -1)

 BitcodeReader.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff -u llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1.35 llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1.36
--- llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1.35	Thu May  3 22:50:29 2007
+++ llvm/lib/Bitcode/Reader/BitcodeReader.cpp	Thu May  3 22:57:30 2007
@@ -1423,7 +1423,7 @@
       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...]






More information about the llvm-commits mailing list