[PATCH] D74329: [ValueLattice] Remove obsolete getConstantInt (NFC).
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 10 10:29:12 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd15325c9e0a0: [ValueLattice] Remove obsolete getConstantInt (NFC). (authored by fhahn).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74329/new/
https://reviews.llvm.org/D74329
Files:
llvm/include/llvm/Analysis/ValueLattice.h
Index: llvm/include/llvm/Analysis/ValueLattice.h
===================================================================
--- llvm/include/llvm/Analysis/ValueLattice.h
+++ llvm/include/llvm/Analysis/ValueLattice.h
@@ -281,12 +281,6 @@
return true;
}
- ConstantInt *getConstantInt() const {
- assert(isConstant() && isa<ConstantInt>(getConstant()) &&
- "No integer constant");
- return cast<ConstantInt>(getConstant());
- }
-
/// Compares this symbolic value with Other using Pred and returns either
/// true, false or undef constants, or nullptr if the comparison cannot be
/// evaluated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74329.243632.patch
Type: text/x-patch
Size: 621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200210/1614662a/attachment.bin>
More information about the llvm-commits
mailing list