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:
0d4c02b
)
[NFC] Simplify Call query
author
Sam Parker
<sam.parker@arm.com>
Thu, 13 Jun 2019 08:32:56 +0000
(08:32 +0000)
committer
Sam Parker
<sam.parker@arm.com>
Thu, 13 Jun 2019 08:32:56 +0000
(08:32 +0000)
Use getIntrinsicID() directly from IntrinsicInst.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363235
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMTargetTransformInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMTargetTransformInfo.cpp
b/lib/Target/ARM/ARMTargetTransformInfo.cpp
index
5f0fbd0
..
a57a404
100644
(file)
--- a/
lib/Target/ARM/ARMTargetTransformInfo.cpp
+++ b/
lib/Target/ARM/ARMTargetTransformInfo.cpp
@@
-806,7
+806,7
@@
bool ARMTTIImpl::isHardwareLoopProfitable(Loop *L, ScalarEvolution &SE,
auto IsHardwareLoopIntrinsic = [](Instruction &I) {
if (auto *Call = dyn_cast<IntrinsicInst>(&I)) {
- switch (Call->get
CalledFunction()->get
IntrinsicID()) {
+ switch (Call->getIntrinsicID()) {
default:
break;
case Intrinsic::set_loop_iterations: