[PATCH] D94466: [X86] merge "={eax}" and "~{eax}" into "=&eax" for MSInlineASM

Freddy, Ye via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 26 06:23:00 PST 2021


FreddyYe updated this revision to Diff 319282.
FreddyYe added a comment.

If Clobber is edx only, don't change "={eax}" to "=&{eax}".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94466

Files:
  clang/lib/CodeGen/CGStmt.cpp
  clang/test/CodeGen/ms-inline-asm.c
  clang/test/CodeGenCXX/ms-inline-asm-return.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94466.319282.patch
Type: text/x-patch
Size: 5979 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210126/1106f9a4/attachment.bin>


More information about the cfe-commits mailing list