diff options
author | Nikita Popov <npopov@redhat.com> | 2023-04-18 12:36:51 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-04-18 12:37:15 +0200 |
commit | 294831688ff9b45b115e00dabd3119d6803414ab (patch) | |
tree | 0882679cf2a76645bab02c560fff5470ba9945c6 /llvm/lib/Analysis/ValueTracking.cpp | |
parent | 10e2f0ed269cd1143989a8442c8b8b06b5ca131f (diff) | |
download | llvm-294831688ff9b45b115e00dabd3119d6803414ab.zip llvm-294831688ff9b45b115e00dabd3119d6803414ab.tar.gz llvm-294831688ff9b45b115e00dabd3119d6803414ab.tar.bz2 |
[ValueTracking] Use SmallPtrSetImpl (NFC)
Don't hardcode set size in function signature.
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 2578957..9fbd995 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -6514,7 +6514,7 @@ void llvm::getGuaranteedNonPoisonOps(const Instruction *I, } bool llvm::mustTriggerUB(const Instruction *I, - const SmallSet<const Value *, 16>& KnownPoison) { + const SmallPtrSetImpl<const Value *> &KnownPoison) { SmallVector<const Value *, 4> NonPoisonOps; getGuaranteedNonPoisonOps(I, NonPoisonOps); |