diff options
author | Phoebe Wang <phoebe.wang@intel.com> | 2021-12-10 08:41:02 +0800 |
---|---|---|
committer | Phoebe Wang <phoebe.wang@intel.com> | 2021-12-10 09:29:38 +0800 |
commit | d7c07f60b35f901f5bd9153b11807124a9bdde60 (patch) | |
tree | dd36aa3a1dd1f1d738a920c4da07ccc1057266b6 /llvm/lib/Support/MemoryBuffer.cpp | |
parent | afa3c14e2ff95c6b4e1a2db4e197a7297c7f73ec (diff) | |
download | llvm-d7c07f60b35f901f5bd9153b11807124a9bdde60.zip llvm-d7c07f60b35f901f5bd9153b11807124a9bdde60.tar.gz llvm-d7c07f60b35f901f5bd9153b11807124a9bdde60.tar.bz2 |
[X86][MS-InlineAsm] Make the constraint *m to be simple place holder
D113096 solved the "undefined reference to xxx" issue by adding
constraint *m for the global var. But it has strong side effect due to
the symbol in the assembly being replaced with constraint variable.
This leads to some lowering fails. https://godbolt.org/z/h3nWoerPe
This patch fix the problem by use the constraint *m as place holder
rather than real constraint. It has negligible effect for the existing
code generation.
Reviewed By: skan
Differential Revision: https://reviews.llvm.org/D115225
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions