[llvm] 2a2432e - [NFC] Make Assume2KnowledgeMap's typedef more precise
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 15 14:34:31 PDT 2021
Author: Arthur Eubanks
Date: 2021-10-15T14:34:17-07:00
New Revision: 2a2432e95f23b7a0b35aaf6b44fe03de729d0556
URL: https://github.com/llvm/llvm-project/commit/2a2432e95f23b7a0b35aaf6b44fe03de729d0556
DIFF: https://github.com/llvm/llvm-project/commit/2a2432e95f23b7a0b35aaf6b44fe03de729d0556.diff
LOG: [NFC] Make Assume2KnowledgeMap's typedef more precise
Added:
Modified:
llvm/include/llvm/Analysis/AssumeBundleQueries.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/AssumeBundleQueries.h b/llvm/include/llvm/Analysis/AssumeBundleQueries.h
index af763a4a72c6d..77da191102466 100644
--- a/llvm/include/llvm/Analysis/AssumeBundleQueries.h
+++ b/llvm/include/llvm/Analysis/AssumeBundleQueries.h
@@ -20,7 +20,6 @@
#include "llvm/ADT/DenseMap.h"
namespace llvm {
-class IntrinsicInst;
class AssumptionCache;
class DominatorTree;
@@ -78,7 +77,7 @@ struct MinMax {
/// (=knowledge) that is encoded in them. How the value range is interpreted
/// depends on the RetainedKnowledgeKey that was used to get this out of the
/// RetainedKnowledgeMap.
-using Assume2KnowledgeMap = DenseMap<IntrinsicInst *, MinMax>;
+using Assume2KnowledgeMap = DenseMap<AssumeInst *, MinMax>;
using RetainedKnowledgeMap =
DenseMap<RetainedKnowledgeKey, Assume2KnowledgeMap>;
More information about the llvm-commits
mailing list