Fixes PR8287: SD scheduling time. The fix is a failsafe that prevents
authorAndrew Trick <atrick@apple.com>
Fri, 12 Nov 2010 17:50:46 +0000 (17:50 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 12 Nov 2010 17:50:46 +0000 (17:50 +0000)
commitde91f3c5eb3d6dc222e62f2e6ea2597674c41a84
tree6401a1f3e3a85d622961e947c176b1b12cd03b17
parent6b5e3978e3f720f6d2828068157b9d9687aee711
Fixes PR8287: SD scheduling time. The fix is a failsafe that prevents
catastrophic compilation time in the event of unreasonable LLVM
IR. Code quality is a separate issue--someone upstream needs to do a
better job of reducing to llvm.memcpy. If the situation can be reproduced with
any supported frontend, then it will be a separate bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118904 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp