projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d1f9ad
)
storeinst ctor takes isvolatile before alignment. With this, 176.gcc roundtrips
author
Chris Lattner
<sabre@nondot.org>
Fri, 4 May 2007 03:57:30 +0000
(
03:57
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 4 May 2007 03:57:30 +0000
(
03:57
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36738
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Reader/BitcodeReader.cpp
b/lib/Bitcode/Reader/BitcodeReader.cpp
index f546bb4891ba58aca68e5f4ad1c87358cc632843..cca8a51e10a14da0ca70d4a4b6e7367cc797232d 100644
(file)
--- 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...]