search for: locallabelid

Displaying 6 results from an estimated 6 matches for "locallabelid".

2013 Nov 27
0
[LLVMdev] Bug in Language Reference? %0 versus %1 as starting index.
....ll files. The key places for making this round-trip are AssemblyWriter::printBasicBlock in lib/IR/AsmWriter.cpp and LLParser::ParseBasicBlock in lib/AsmParser/LLParser.cpp. The parsing side is likely to be entirely in lib/AsmParser/LLLexer.cpp where you need to find a way to get a new token "LocalLabelID" returned for the new syntax. To reiterate, the goal of such a change is solely to avoid people getting confused about the implicit numbering. It needs to be reminiscent/suggestive of the instruction numbering syntax to avoid this confusion. Heck, there may be something within the existing s...
2013 Nov 27
2
[LLVMdev] Bug in Language Reference? %0 versus %1 as starting index.
...places for making this > round-trip are AssemblyWriter::printBasicBlock in lib/IR/AsmWriter.cpp > and LLParser::ParseBasicBlock in lib/AsmParser/LLParser.cpp. The parsing > side is likely to be entirely in lib/AsmParser/LLLexer.cpp where you need > to find a way to get a new token "LocalLabelID" returned for the new syntax. > > To reiterate, the goal of such a change is solely to avoid people getting > confused about the implicit numbering. It needs to be > reminiscent/suggestive of the instruction numbering syntax to avoid this > confusion. > > Heck, there may b...
2013 Nov 27
4
[LLVMdev] Bug in Language Reference? %0 versus %1 as starting index.
The language reference states that local temporaries begin with index 0, but if I try that on my not-entirely-up-to-date v3.4 llc (it is like a week old), I get an error "instruction expected to be numbered '%1'". Also, quite a few examples in the LR uses %0 as a local identifier. Should I fix those or is it a problem in llc? -- Mikael -------------- next part --------------
2013 Nov 27
0
[LLVMdev] Bug in Language Reference? %0 versus %1 as starting index.
...g this >> round-trip are AssemblyWriter::printBasicBlock in lib/IR/AsmWriter.cpp >> and LLParser::ParseBasicBlock in lib/AsmParser/LLParser.cpp. The parsing >> side is likely to be entirely in lib/AsmParser/LLLexer.cpp where you need >> to find a way to get a new token "LocalLabelID" returned for the new syntax. >> >> To reiterate, the goal of such a change is solely to avoid people getting >> confused about the implicit numbering. It needs to be >> reminiscent/suggestive of the instruction numbering syntax to avoid this >> confusion. >&gt...
2013 Nov 27
2
[LLVMdev] Bug in Language Reference? %0 versus %1 as starting index.
...gt; round-trip are AssemblyWriter::printBasicBlock in lib/IR/AsmWriter.cpp >>> and LLParser::ParseBasicBlock in lib/AsmParser/LLParser.cpp. The parsing >>> side is likely to be entirely in lib/AsmParser/LLLexer.cpp where you need >>> to find a way to get a new token "LocalLabelID" returned for the new syntax. >>> >>> To reiterate, the goal of such a change is solely to avoid people >>> getting confused about the implicit numbering. It needs to be >>> reminiscent/suggestive of the instruction numbering syntax to avoid this >>&gt...
2013 Nov 27
0
[LLVMdev] Bug in Language Reference? %0 versus %1 as starting index.
...ip are AssemblyWriter::printBasicBlock in lib/IR/AsmWriter.cpp >>>> and LLParser::ParseBasicBlock in lib/AsmParser/LLParser.cpp. The parsing >>>> side is likely to be entirely in lib/AsmParser/LLLexer.cpp where you need >>>> to find a way to get a new token "LocalLabelID" returned for the new syntax. >>>> >>>> To reiterate, the goal of such a change is solely to avoid people >>>> getting confused about the implicit numbering. It needs to be >>>> reminiscent/suggestive of the instruction numbering syntax to avoid...