Displaying 5 results from an estimated 5 matches for "get_function_recognizer".
2012 Nov 30
3
[LLVMdev] Tablegen bug???
...t documented as a limitation somewhere that we've missed?
In the tablegen-generated file AMDILGenIntrinsics.inc, we have a bunch of if statements comparing strings, many of which are dead, preventing correct recognition of some intrinsics in the their text form. I'm not quite sure what GET_FUNCTION_RECOGNIZER is used for, but if it's used, it's broken… ;-)
Here's a small segment:
// Function name -> enum value recognizer code.
#ifdef GET_FUNCTION_RECOGNIZER
StringRef NameR(Name+6, Len-6); // Skip over 'llvm.'
switch (Name[5]) { // Dispatch on first lette...
2012 Nov 30
2
[LLVMdev] Tablegen bug???
...a limitation somewhere that we've missed?
>>
>> In the tablegen-generated file AMDILGenIntrinsics.inc, we have a bunch of if statements comparing strings, many of which are dead, preventing correct recognition of some intrinsics in the their text form. I'm not quite sure what GET_FUNCTION_RECOGNIZER is used for, but if it's used, it's broken… ;-)
>>
>> Here's a small segment:
>>
>> // Function name -> enum value recognizer code.
>> #ifdef GET_FUNCTION_RECOGNIZER
>> StringRef NameR(Name+6, Len-6); // Skip over 'llvm.'
>> swi...
2012 Nov 30
0
[LLVMdev] Tablegen bug???
...ted as a limitation somewhere that we've missed?
>
> In the tablegen-generated file AMDILGenIntrinsics.inc, we have a bunch of if statements comparing strings, many of which are dead, preventing correct recognition of some intrinsics in the their text form. I'm not quite sure what GET_FUNCTION_RECOGNIZER is used for, but if it's used, it's broken… ;-)
>
> Here's a small segment:
>
> // Function name -> enum value recognizer code.
> #ifdef GET_FUNCTION_RECOGNIZER
> StringRef NameR(Name+6, Len-6); // Skip over 'llvm.'
> switch (Name[5]) {...
2013 Jul 03
0
[LLVMdev] Tablegen bug???
...#39;ve missed?
> >>>
> >>> In the tablegen-generated file AMDILGenIntrinsics.inc, we have a
> bunch of if statements comparing strings, many of which are dead,
> preventing correct recognition of some intrinsics in the their text form.
> I'm not quite sure what GET_FUNCTION_RECOGNIZER is used for, but if it's
> used, it's broken… ;-)
> >>>
> >>> Here's a small segment:
> >>>
> >>> // Function name -> enum value recognizer code.
> >>> #ifdef GET_FUNCTION_RECOGNIZER
> >>> StringRef NameR(Nam...
2012 Dec 01
0
[LLVMdev] Tablegen bug???
...ation somewhere that we've missed?
>>>
>>> In the tablegen-generated file AMDILGenIntrinsics.inc, we have a bunch of if statements comparing strings, many of which are dead, preventing correct recognition of some intrinsics in the their text form. I'm not quite sure what GET_FUNCTION_RECOGNIZER is used for, but if it's used, it's broken… ;-)
>>>
>>> Here's a small segment:
>>>
>>> // Function name -> enum value recognizer code.
>>> #ifdef GET_FUNCTION_RECOGNIZER
>>> StringRef NameR(Name+6, Len-6); // Skip over '...