[PATCH] D45376: Fix PR34170: Crash on inline asm with 64bit output in 32bit GPR

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 08:48:07 PDT 2018


thopre created this revision.
thopre added reviewers: bogner, t.p.northover, lattner.
Herald added a subscriber: javed.absar.

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


Repository:
  rL LLVM

https://reviews.llvm.org/D45376

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  test/CodeGen/ARM/pr34170.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45376.141353.patch
Type: text/x-patch
Size: 8483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180406/539ccad4/attachment.bin>


More information about the llvm-commits mailing list