aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorMarina Yatsina <marina.yatsina@intel.com>2016-03-07 18:10:25 +0000
committerMarina Yatsina <marina.yatsina@intel.com>2016-03-07 18:10:25 +0000
commit5f776793567cb8d7c55e27a5b4d8e5e75f7f9616 (patch)
tree8dabfb8aa8f021d75874be8e4449cb41acb04541 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parent4896c7a82afc1fc586db170f86f6ca57e61286e8 (diff)
downloadllvm-5f776793567cb8d7c55e27a5b4d8e5e75f7f9616.zip
llvm-5f776793567cb8d7c55e27a5b4d8e5e75f7f9616.tar.gz
llvm-5f776793567cb8d7c55e27a5b4d8e5e75f7f9616.tar.bz2
[ms-inline-asm][AVX512] Add ability to use k registers in MS inline asm + fix bag with curly braces
Until now curly braces could only be used in MS inline assembly to mark block start/end. All curly braces were removed completely at a very early stage. This approach caused bugs like: "m{o}v eax, ebx" turned into "mov eax, ebx" without any error. In addition, AVX-512 added special operands (e.g., k registers), which are also surrounded by curly braces that mark them as such. Now, we need to keep the curly braces and identify at a later stage if they are marking block start/end (if so, ignore them), or surrounding special AVX-512 operands (if so, parse them as such). This patch fixes the bug described above and enables the use of AVX-512 special operands. This commit is the the clang part of the patch. The clang part of the review is: http://reviews.llvm.org/D17766 The llvm part of the review is: http://reviews.llvm.org/D17767 Differential Revision: http://reviews.llvm.org/D17766 llvm-svn: 262842
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions