aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2021-09-30 08:51:21 -0700
committerKazu Hirata <kazu@google.com>2021-09-30 08:51:21 -0700
commitf631173d80cace522c89c566f13cc447741745e4 (patch)
treea261f7f34e63fc58a4263da3e568a09586668bc2 /llvm/lib/Analysis/ValueTracking.cpp
parentcf362ff4cab3a3bef5f32f0445526823998eb72f (diff)
downloadllvm-f631173d80cace522c89c566f13cc447741745e4.zip
llvm-f631173d80cace522c89c566f13cc447741745e4.tar.gz
llvm-f631173d80cace522c89c566f13cc447741745e4.tar.bz2
[llvm] Migrate from arg_operands to args (NFC)
Note that arg_operands is considered a legacy name. See llvm/include/llvm/IR/InstrTypes.h for details.
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r--llvm/lib/Analysis/ValueTracking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp
index 35178f8..daecd70 100644
--- a/llvm/lib/Analysis/ValueTracking.cpp
+++ b/llvm/lib/Analysis/ValueTracking.cpp
@@ -5096,7 +5096,7 @@ static bool directlyImpliesPoison(const Value *ValAssumedPoison,
const WithOverflowInst *II;
if (match(I, m_ExtractValue(m_WithOverflowInst(II))) &&
(match(ValAssumedPoison, m_ExtractValue(m_Specific(II))) ||
- llvm::is_contained(II->arg_operands(), ValAssumedPoison)))
+ llvm::is_contained(II->args(), ValAssumedPoison)))
return true;
}
return false;