Allow TargetLowering::getRegClassFor() to be called on illegal types. Also
authorEvan Cheng <evan.cheng@apple.com>
Sat, 15 May 2010 02:18:07 +0000 (02:18 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 15 May 2010 02:18:07 +0000 (02:18 +0000)
commit06b666c7056376b8aaf40be0dc00b97b2cfceb6c
treece9766d07085a010ddd890cd829b55f049697d93
parent7092c2bfcb91c367b091e037f0568e249e1b0a57
Allow TargetLowering::getRegClassFor() to be called on illegal types. Also
allow target to override it in order to map register classes to illegal
but synthesizable types. e.g. v4i64, v8i64 for ARM / NEON.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103854 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
test/CodeGen/ARM/2010-05-14-IllegalType.ll [new file with mode: 0644]