[llvm] f15c39b - [CodeGen] Remove isNON_TRUNCStore and isTRUNCStore (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 19 06:56:21 PDT 2021
Author: Kazu Hirata
Date: 2021-07-19T06:56:04-07:00
New Revision: f15c39ba9e7b30987463bb574098c963fc3b0568
URL: https://github.com/llvm/llvm-project/commit/f15c39ba9e7b30987463bb574098c963fc3b0568
DIFF: https://github.com/llvm/llvm-project/commit/f15c39ba9e7b30987463bb574098c963fc3b0568.diff
LOG: [CodeGen] Remove isNON_TRUNCStore and isTRUNCStore (NFC)
The last use of isNON_TRUNCStore was removed on Oct 10, 2018 in commit
07acc992dc39edfccc5a4b773c3dcf8a5bf6d893.
isTRUNCStore seems to be unused for at least 10 years.
Added:
Modified:
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index 929bcb4bd5f10..a9bf215e7c4a6 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -2717,16 +2717,6 @@ namespace ISD {
St->getAddressingMode() == ISD::UNINDEXED;
}
- /// Returns true if the specified node is a non-truncating store.
- inline bool isNON_TRUNCStore(const SDNode *N) {
- return isa<StoreSDNode>(N) && !cast<StoreSDNode>(N)->isTruncatingStore();
- }
-
- /// Returns true if the specified node is a truncating store.
- inline bool isTRUNCStore(const SDNode *N) {
- return isa<StoreSDNode>(N) && cast<StoreSDNode>(N)->isTruncatingStore();
- }
-
/// Returns true if the specified node is an unindexed store.
inline bool isUNINDEXEDStore(const SDNode *N) {
return isa<StoreSDNode>(N) &&
More information about the llvm-commits
mailing list