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:
351cbac
)
use getArgOperand instead of getOperand
author
Gabor Greif
<ggreif@gmail.com>
Wed, 30 Jun 2010 09:15:28 +0000
(09:15 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Wed, 30 Jun 2010 09:15:28 +0000
(09:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107270
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index f7d5ec89ff277a4b80ab8b5f453b1beb6e055a30..a250a88c994730c0e498932ce5f3b9f2c3b786b3 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-559,7
+559,7
@@
static bool isAddressUse(Instruction *Inst, Value *OperandVal) {
case Intrinsic::x86_sse2_storeu_pd:
case Intrinsic::x86_sse2_storeu_dq:
case Intrinsic::x86_sse2_storel_dq:
- if (II->get
Operand(1
) == OperandVal)
+ if (II->get
ArgOperand(0
) == OperandVal)
isAddress = true;
break;
}
@@
-581,7
+581,7
@@
static const Type *getAccessType(const Instruction *Inst) {
case Intrinsic::x86_sse2_storeu_pd:
case Intrinsic::x86_sse2_storeu_dq:
case Intrinsic::x86_sse2_storel_dq:
- AccessTy = II->get
Operand(1
)->getType();
+ AccessTy = II->get
ArgOperand(0
)->getType();
break;
}
}