[PATCH] D33277: [Clang][x86][Inline Asm] - Enum support for MS syntax
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 17 10:33:52 PDT 2017
rnk added inline comments.
================
Comment at: lib/Parse/ParseStmtAsm.cpp:100
+ // result of a call to LookupInlineAsmIdentifier.
+ bool EvaluateLookupAsEnum(void *LookupResult, int64_t &Result) {
+ if (!LookupResult) return false;
----------------
Please format this, clang-format will do the job
================
Comment at: test/CodeGen/x86-ms-inline-asm-enum_feature.cpp:12
+ const int a = 0;
+ // CHECK-NOT: mov eax, [$$0]
+ __asm mov eax, [a]
----------------
Use CHECK-LABEL, CHECK, and CHECK-SAME the way that the existing ms-inline-asm.c tests do so that this test is easier to debug when it fails.
Repository:
rL LLVM
https://reviews.llvm.org/D33277
More information about the cfe-commits
mailing list