[PATCH] D105491: [clang] Use i64 for the !srcloc metadata on asm IR nodes.

Chris Lattner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 21 16:47:10 PDT 2021


lattner added a comment.

  > cat f.c
  
  void x() {
    asm("bogus");
  }
  > clang f.c
  f.c:3:7: error: invalid instruction mnemonic 'bogus'
    asm("bogus");
        ^
  <inline asm>:1:2: note: instantiated into assembly here
          bogus
          ^~~~~
  1 error generated.




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105491/new/

https://reviews.llvm.org/D105491



More information about the llvm-commits mailing list