[llvm] [llvm][tblgen] Add `SourcePath` for `emitSourceFileHeader` (PR #65744)
Shao-Ce SUN via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 12 20:11:41 PDT 2023
sunshaoce wrote:
example for `build/include/llvm/CodeGen/GenVT.inc`
before:
```
/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* ValueTypes Source Fragment *|
|* *|
|* Automatically generated file, do not edit! *|
|* *|
\*===----------------------------------------------------------------------===*/
```
after
```
/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* ValueTypes Source Fragment *|
|* *|
|* Automatically generated file, do not edit! *|
|* From: llvm/include/llvm/CodeGen/ValueTypes.td *|
|* *|
\*===----------------------------------------------------------------------===*/
```
https://github.com/llvm/llvm-project/pull/65744
More information about the llvm-commits
mailing list