ARM: Mark VSELECT as 'expand'.
authorJim Grosbach <grosbach@apple.com>
Fri, 12 Oct 2012 22:59:21 +0000 (22:59 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 12 Oct 2012 22:59:21 +0000 (22:59 +0000)
commit4346fa9437116bbdb10acddb982c230f46696737
treeb409c0c647991932e57f6603c0817fc38e3c12da
parent6e006d3de882784527d4d9cc92b1a91f6773505e
ARM: Mark VSELECT as 'expand'.

The backend already pattern matches to form VBSL when it can. We may want to
teach it to use the vbsl intrinsics at some point to prevent machine licm from
mucking with this, but using the Expand is completely correct.

http://llvm.org/bugs/show_bug.cgi?id=13831
http://llvm.org/bugs/show_bug.cgi?id=13961

Patch by Peter Couperus <peter.couperus@st.com>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165845 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/vselect_imax.ll [new file with mode: 0644]