[PATCH] D34739: [X86][InlineAsm][Ms Compatibility]Prefer variable name over a register when the two collides

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 13:55:51 PDT 2017


rnk added a comment.

I reverted this in https://reviews.llvm.org/rL308926 because it broke sanitizer-windows: http://lab.llvm.org:8011/builders/sanitizer-windows/builds/14535

With this patch, clang would reject this code:

  namespace cl { }
  void f() {
    __asm {
      mov al, cl
    }
  }


Repository:
  rL LLVM

https://reviews.llvm.org/D34739





More information about the llvm-commits mailing list