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

James Y Knight via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 9 05:48:39 PST 2021


jyknight added a comment.

This change seems like it's done in the wrong layer -- why do we add a special-case in Clang to emit "={r11},{r11}", instead of fixing LLVM to not break when given the previously-output "={r11},0"?

Furthermore, since earlyclobber was exempted from this change, doesn't the same TwoAddressInstructionPass bug still affect earlyclobber uses?


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