]> granicus.if.org Git - llvm/commit
Merging r296645: (PR32253)
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Thu, 27 Apr 2017 15:38:30 +0000 (15:38 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Thu, 27 Apr 2017 15:38:30 +0000 (15:38 +0000)
commit12ceebf6e71aee0ac0db1df6550c230ce7e5161b
treef38df0e858b516fae22cee54f3a6817c6e322efc
parent7b1ecc9ffb809428f4168a53c0806194f380bffa
Merging r296645: (PR32253)

Included an updated testcase

------------------------------------------------------------------------
[Hexagon] Fix lowering of formal arguments of type i1

On Hexagon, values of type i1 are passed in registers of type i32,
even though i1 is not a legal value for these registers. This is a
special case and needs special handling to maintain consistency of
the lowering information.

This fixes PR32089.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@301550 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonISelLowering.cpp
test/CodeGen/Hexagon/isel-i1arg-crash.ll [new file with mode: 0644]
test/MC/Hexagon/inst_select.ll