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)
commit30af442a846b6ad09005957c903e6495b42d5a69
tree3a3037a20464ee5a61ca4ae66b93a29087d5d3dd
parent7247b23efc1336c919aa09825a1115163168169e
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>.

llvm-svn: 165845
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/ARM/vselect_imax.ll [new file with mode: 0644]