[llvm] 3a6bb32 - [SelectionDAG] Remove ISD::LIFETIME_START/LIFETIME_END from assert in getMemIntrinsicNode.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 23 22:50:59 PST 2020
Author: Craig Topper
Date: 2020-02-23T22:32:36-08:00
New Revision: 3a6bb32bd24b6f1b01ae2378ea7fa726f453fb1c
URL: https://github.com/llvm/llvm-project/commit/3a6bb32bd24b6f1b01ae2378ea7fa726f453fb1c
DIFF: https://github.com/llvm/llvm-project/commit/3a6bb32bd24b6f1b01ae2378ea7fa726f453fb1c.diff
LOG: [SelectionDAG] Remove ISD::LIFETIME_START/LIFETIME_END from assert in getMemIntrinsicNode.
These appear to have their own SDNode type and shouldn't use
MemIntrinsicSDNode.
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index d2db4bccc3ac..1d7b34db1839 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -6701,8 +6701,6 @@ SDValue SelectionDAG::getMemIntrinsicNode(unsigned Opcode, const SDLoc &dl,
assert((Opcode == ISD::INTRINSIC_VOID ||
Opcode == ISD::INTRINSIC_W_CHAIN ||
Opcode == ISD::PREFETCH ||
- Opcode == ISD::LIFETIME_START ||
- Opcode == ISD::LIFETIME_END ||
((int)Opcode <= std::numeric_limits<int>::max() &&
(int)Opcode >= ISD::FIRST_TARGET_MEMORY_OPCODE)) &&
"Opcode is not a memory-accessing opcode!");
More information about the llvm-commits
mailing list