Fix PR1833 - eh.exception and eh.selector return two
authorDuncan Sands <baldrick@free.fr>
Mon, 31 Dec 2007 18:35:50 +0000 (18:35 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 31 Dec 2007 18:35:50 +0000 (18:35 +0000)
commitb027fa001f16660a231a54ecea6a79f5c7855d7c
tree37e9242837fb31acda017e1a5e807a74595aad6e
parentd10fd9791c20fd8368fa0ce94b626b769c6c8ba0
Fix PR1833 - eh.exception and eh.selector return two
values, which means doing extra legalization work.
It would be easier to get this kind of thing right if
there was some documentation...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45472 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
test/CodeGen/Generic/2007-12-31-UnusedSelector.ll [new file with mode: 0644]