OSDN Git Service

Reapply "Fix crash on inline asm with 64bit matching input in 32bit GPR"
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Mon, 30 Jul 2018 16:48:39 +0000 (16:48 +0000)
committerThomas Preud'homme <thomas.preudhomme@arm.com>
Mon, 30 Jul 2018 16:48:39 +0000 (16:48 +0000)
commit005ad0240a6bca58b55f5500c62d3b15ed81364a
tree1d4774b0f5c1dc6b9cad1d787cdf355110255f32
parent690afef84f09c378786398b6d5ec0c5500a4c6b4
Reapply "Fix crash on inline asm with 64bit matching input in 32bit GPR"

This reapplies commit r338206 reverted by r338214 since the bug that
r338206 uncovered has been fixed in r338268.

Add support for inline assembly with matching input operand that do not
naturally go in the register class it is constrained to (eg. double in a
32-bit GPR). Note that regular input is already handled by existing
code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338269 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/ARM/inline-asm-operand-implicit-cast.ll