mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Make classof in MemSDNode consistent with MemIntrinsicSDNode
If INTRINSIC_W_CHAIN and INTRINSIC_VOID are MemIntrinsicSDNodes, and a MemIntrinsicSDNode is a MemSDNode, then INTRINSIC_W_CHAIN and INTRINSIC_VOID must be MemSDNodes too. Noticed by inspection. llvm-svn: 214452
This commit is contained in:
parent
4439cb6485
commit
4ac8a41b35
@ -1158,6 +1158,8 @@ public:
|
|||||||
N->getOpcode() == ISD::ATOMIC_LOAD_UMAX ||
|
N->getOpcode() == ISD::ATOMIC_LOAD_UMAX ||
|
||||||
N->getOpcode() == ISD::ATOMIC_LOAD ||
|
N->getOpcode() == ISD::ATOMIC_LOAD ||
|
||||||
N->getOpcode() == ISD::ATOMIC_STORE ||
|
N->getOpcode() == ISD::ATOMIC_STORE ||
|
||||||
|
N->getOpcode() == ISD::INTRINSIC_W_CHAIN ||
|
||||||
|
N->getOpcode() == ISD::INTRINSIC_VOID ||
|
||||||
N->isTargetMemoryOpcode();
|
N->isTargetMemoryOpcode();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user