[ARM] Don't promote i1 types in ARM CGP
authorSam Parker <sam.parker@arm.com>
Fri, 9 Nov 2018 15:06:33 +0000 (15:06 +0000)
committerSam Parker <sam.parker@arm.com>
Fri, 9 Nov 2018 15:06:33 +0000 (15:06 +0000)
commit2804f32ec4609c98d4cfa56065c7bc2dd3dabcb3
treece8a7e2a34367083b0c4c58d6b3b5ac093ba858b
parentfa1c0fe478dbcc2276d7cb58fe2adaf2fee9097c
[ARM] Don't promote i1 types in ARM CGP

Now that we have mixed type sizes, i1 values need to be explicitly
handled as we want to avoid promoting these values.

Differential Revision: https://reviews.llvm.org/D54308

llvm-svn: 346499
llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp
llvm/test/CodeGen/ARM/CGP/arm-cgp-calls.ll
llvm/test/CodeGen/ARM/CGP/arm-cgp-casts.ll