mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[NFC] Simplify Call query
Use getIntrinsicID() directly from IntrinsicInst. llvm-svn: 363235
This commit is contained in:
parent
a6e678d64e
commit
81fad75027
@ -806,7 +806,7 @@ bool ARMTTIImpl::isHardwareLoopProfitable(Loop *L, ScalarEvolution &SE,
|
||||
|
||||
auto IsHardwareLoopIntrinsic = [](Instruction &I) {
|
||||
if (auto *Call = dyn_cast<IntrinsicInst>(&I)) {
|
||||
switch (Call->getCalledFunction()->getIntrinsicID()) {
|
||||
switch (Call->getIntrinsicID()) {
|
||||
default:
|
||||
break;
|
||||
case Intrinsic::set_loop_iterations:
|
||||
|
Loading…
x
Reference in New Issue
Block a user