aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorMarina Yatsina <marina.yatsina@intel.com>2016-03-07 18:11:16 +0000
committerMarina Yatsina <marina.yatsina@intel.com>2016-03-07 18:11:16 +0000
commit5f5de9f89b3602d9ca323c0512e8dc8163f7b393 (patch)
treec1b2fa9c5d2924c1b4348ca1d147c3de0cd29d72 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parent5f776793567cb8d7c55e27a5b4d8e5e75f7f9616 (diff)
downloadllvm-5f5de9f89b3602d9ca323c0512e8dc8163f7b393.zip
llvm-5f5de9f89b3602d9ca323c0512e8dc8163f7b393.tar.gz
llvm-5f5de9f89b3602d9ca323c0512e8dc8163f7b393.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 llvm 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/D17767 llvm-svn: 262843
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions