Displaying 1 result from an estimated 1 matches for "matchtable0".
Did you mean:
matchtable
2019 Mar 14
2
inline assembly matching error
...r:
<jal>
"<inline asm>:1:2: error: invalid instruction"
which is due to the fact that MatchInstructionImpl() returns Match_MnemonicFail.
This function is tablegen'ed in XXXGenAsmMatcher.inc and for some reason it can't find JAL even though I can clearly see it in both MatchTable0[] and MnemonicTable
The input was
int main ()
{
asm volatile ("JAL");
return 0;
}
If I go to JAL's definition in XXXInstrInfo.td and change its assembly string from "JAL" to "jal", it works.
How can I keep using uppercase characters? It seems to be a minor sett...