Displaying 2 results from an estimated 2 matches for "immfloat0".
2013 Feb 06
4
[LLVMdev] [llvm-tblgen] Two issues: crash case and mysterious double-inclusion case
...ogram arguments: ./llvm-tblgen -gen-tgt-intrinsic NVPTX1.td
Segmentation fault (core dumped)
====
2) Second test case: double inclusion of file, that is definitely included
once:
====
$ ./llvm-tblgen -gen-tgt-intrinsic NVPTX2.td
Included from NVPTX2.td:20:
NVPTXIntrinsics.td:10:1: error: def 'immFloat0' already defined
def immFloat0 : PatLeaf<(fpimm), [{
^
NVPTX1.td differs from NVPTX2.td just in one line:
include "NVPTXIntrinsics.td"
====
Expected behavior
====
1) In first case, where .td file has empty list of intrinsics, the tool
should not crash
2) In second case there sh...
2013 Feb 07
0
[LLVMdev] [llvm-tblgen] Two issues: crash case and mysterious double-inclusion case
...ration in for
foreach i = 0-395 in {
^
> ====
> 2) Second test case: double inclusion of file, that is definitely included
> once:
> ====
>
> $ ./llvm-tblgen -gen-tgt-intrinsic NVPTX2.td
> Included from NVPTX2.td:20:
> NVPTXIntrinsics.td:10:1: error: def 'immFloat0' already defined
> def immFloat0 : PatLeaf<(fpimm), [{
> ^
$ llvm-tblgen -gen-tgt-intrinsic NVPTX2.td
Included from NVPTX2.td:18:
NVPTXRegisterInfo.td:32:14: error: Value list is not of list type
foreach i = 0-395 in {
^
Included from NVPTX2.td:18:
NVPTXRegisterInfo.td:32...