Loosen up an assertion to allow intrinsics. I really have no
authorChris Lattner <sabre@nondot.org>
Fri, 25 Apr 2008 05:13:01 +0000 (05:13 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 25 Apr 2008 05:13:01 +0000 (05:13 +0000)
commit25453ea49e30e4e22e072153832158a6b0ee0390
tree4d24e2b5891cb43466a2136aa3cc13f6e0ff47e6
parenteede65ce6cb29c8f3a701be8606e95c9a213efff
Loosen up an assertion to allow intrinsics.  I really have no
idea what this code (findNonImmUse) does, so I'm only guessing
that this is the right thing.  It would be really really nice
if this had comments and perhaps switched to SmallPtrSet
(hint hint) :)

This fixes rdar://5886601, a crash on gcc.target/i386/sse4_1-pblendw.c

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50252 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
test/CodeGen/X86/2008-04-24-pblendw-fold-crash.ll [new file with mode: 0644]