[all-commits] [llvm/llvm-project] 682d01: [X86][MS-InlineAsm] Use exact conditions to recogn...
Phoebe Wang via All-commits
all-commits at lists.llvm.org
Wed Dec 22 19:46:32 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 682d01a1c1c52bd95d3d06267d6017395770256b
https://github.com/llvm/llvm-project/commit/682d01a1c1c52bd95d3d06267d6017395770256b
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2021-12-23 (Thu, 23 Dec 2021)
Changed paths:
M clang/test/CodeGen/ms-inline-asm-functions.c
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
M llvm/lib/Target/X86/AsmParser/X86Operand.h
Log Message:
-----------
[X86][MS-InlineAsm] Use exact conditions to recognize MS global variables
D115225 tried to roll back the effects on symbols of MS inline asm
introduced by D113096. But the combination of the conditions cannot
match all the changes. As a result, there are still fails after the
patch.
This patch fixes the problem by checking the exact conditions for MS
global variables, i.e., variable (by FrontendSize != 0) + non rip/eip
(by DefaultBaseReg == 0), so that we can fully roll back for D113096.
Reviewed By: skan
Differential Revision: https://reviews.llvm.org/D116090
More information about the All-commits
mailing list