OSDN Git Service

[ARM GlobalISel] Move the check for Thumb higher up
authorDiana Picus <diana.picus@linaro.org>
Fri, 3 Nov 2017 10:30:12 +0000 (10:30 +0000)
committerDiana Picus <diana.picus@linaro.org>
Fri, 3 Nov 2017 10:30:12 +0000 (10:30 +0000)
commit5281112161326303f9a4571f3c7492fc2f2be6e6
tree68366709681ceaee551ab384fe223192e0ad4853
parent74ecc3ab6b5c584d09919664232287258270e39b
[ARM GlobalISel] Move the check for Thumb higher up

We're currently bailing out for Thumb targets while lowering formal
parameters, but there used to be some other checks before it, which
could've caused some functions (e.g. those without formal parameters) to
sneak through unnoticed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317312 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMCallLowering.cpp