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:
9886504
)
Added default parameters to GetElementPtrInstr constructor call. Visual Studio 2k5...
author
Chuck Rose III
<cfr@adobe.com>
Wed, 5 Sep 2007 16:54:38 +0000
(16:54 +0000)
committer
Chuck Rose III
<cfr@adobe.com>
Wed, 5 Sep 2007 16:54:38 +0000
(16:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41721
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 34f9806428dbc5f084bdaa909f33d15bc8c6d614..4c07eb00132bac95eeeb25473f49d45f897a7cf8 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-7058,7
+7058,7
@@
Instruction *InstCombiner::visitBitCast(BitCastInst &CI) {
// If we found a path from the src to dest, create the getelementptr now.
if (SrcElTy == DstElTy) {
SmallVector<Value*, 8> Idxs(NumZeros+1, ZeroUInt);
- return new GetElementPtrInst(Src, Idxs.begin(), Idxs.end());
+ return new GetElementPtrInst(Src, Idxs.begin(), Idxs.end()
, "", ((Instruction*) NULL)
);
}
}