INTRINSIC_W_CHAIN and INTRINSIC_VOID do not use MemSDNode. They
authorDan Gohman <gohman@apple.com>
Wed, 7 Oct 2009 03:00:18 +0000 (03:00 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 7 Oct 2009 03:00:18 +0000 (03:00 +0000)
may access memory, but they don't carry a MachineMemOperand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83449 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 604f065ff5a020daca005578886edf4c821b0ad2..d7c8f1ca0096b2b06eb478083daab881f98cb82d 100644 (file)
@@ -1599,8 +1599,6 @@ public:
            N->getOpcode() == ISD::ATOMIC_LOAD_MAX     ||
            N->getOpcode() == ISD::ATOMIC_LOAD_UMIN    ||
            N->getOpcode() == ISD::ATOMIC_LOAD_UMAX    ||
-           N->getOpcode() == ISD::INTRINSIC_W_CHAIN   ||
-           N->getOpcode() == ISD::INTRINSIC_VOID      ||
            N->isTargetMemoryOpcode();
   }
 };