OSDN Git Service
(root)
/
android-x86
/
external-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
34f9806
..
4c07eb0
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)
);
}
}