[PATCH] D94466: [X86] merge "={eax}" and "~{eax}" into "=&eax" for MSInlineASM
Pengfei Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 26 02:15:33 PST 2021
pengfei added inline comments.
================
Comment at: clang/lib/CodeGen/CGStmt.cpp:2490
+ continue;
+ std::string::size_type position1 = Constraints.find("={eax}");
+ if (position1 != std::string::npos) {
----------------
If `Clobber` is `edx` only, we shouldn'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
More information about the cfe-commits
mailing list