[LLVMbugs] [Bug 15189] llvm-tblgen has duplicate dependency on one file, while it is included only once

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 6 20:33:40 PST 2013


Sean Silva <silvas at purdue.edu> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |silvas at purdue.edu
         Resolution|---                         |INVALID

--- Comment #1 from Sean Silva <silvas at purdue.edu> ---
It is included more than once:
- line 20 of NVPTX2.td
- line 2827 of NVPTXInstrInfo.td.

With r174582 we now diagnose double inclusion, which should avoid this issue in
the future:

sean:~/Downloads/tblgen % ~/pg/llvm/r+a/bin/llvm-tblgen -gen-tgt-intrinsic
NVPTX2.td:20:9: error: File 'NVPTXIntrinsics.td' has already been included.
include "NVPTXIntrinsics.td"
Included from NVPTX2.td:19:
NVPTXInstrInfo.td:2827:9: note: previously included here
include "NVPTXIntrinsics.td"
NVPTX2.td:20:9: error: Unexpected input at top level
include "NVPTXIntrinsics.td"

btw, great bug report (including the attachment with everything needed inside).

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130207/d33c069f/attachment.html>

More information about the llvm-bugs mailing list