mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 08:46:23 +00:00
Not checking for intrinsics which do not have a chain operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50260 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cdda25d22b
commit
419ace9bda
@ -255,11 +255,12 @@ static void findNonImmUse(SDNode *Use, SDNode* Def, SDNode *ImmedUse,
|
||||
continue;
|
||||
if (N == Def) {
|
||||
if (Use == ImmedUse)
|
||||
continue; // We are not looking for immediate use.
|
||||
continue; // We are not looking for immediate use.
|
||||
if (Use == Root) {
|
||||
// Must be a chain reading node where it is possible to reach its own
|
||||
// chain operand through a path started from another operand.
|
||||
assert(Use->getOpcode() == ISD::STORE ||
|
||||
Use->getOpcode() == X86ISD::CMP ||
|
||||
Use->getOpcode() == ISD::INTRINSIC_WO_CHAIN ||
|
||||
Use->getOpcode() == ISD::INTRINSIC_W_CHAIN ||
|
||||
Use->getOpcode() == ISD::INTRINSIC_VOID);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user