[PATCH] D87279: [clang] Fix handling of physical registers in inline assembly operands.

Jonas Paulsson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 16 05:10:28 PDT 2020


jonpa added a comment.

The problem seems to be with a tied earlyclobber operand:

  asm("" : "+&r"(a));

Per the comment in InlineAsm::ConstraintInfo::Parse(), only output can be earlyclobber.

I am not sure if the earlyclobber ('&') should with this patch be removed from the added use of the register, or if this has to for some reason really be tied to the def?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87279/new/

https://reviews.llvm.org/D87279



More information about the cfe-commits mailing list