[AArch64] Reject inline asm with FP registers when FP is disabled.
authorEli Friedman <efriedma@codeaurora.org>
Fri, 24 Aug 2018 19:12:13 +0000 (19:12 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Fri, 24 Aug 2018 19:12:13 +0000 (19:12 +0000)
commit071203bbf2224634fa0a271dd0816114f7c2dd83
treeba25b61db7c69dd12712f6262fa4573acd37f8e6
parent57deab77decaaa5c3d93d573b9f79885664d1aa5
[AArch64] Reject inline asm with FP registers when FP is disabled.

Otherwise, we would crash trying to deal with an illegal input.

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

llvm-svn: 340637
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/inlineasm-illegal-type.ll [new file with mode: 0644]