Examples showing the IRTranslator phase of GISel is added. The lowering formal arguments and return values of call lowering part is shown. Examples of lowering function call is yet to be added.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
I think we need something similar to https://llvm.org/docs/WritingAnLLVMBackend.html#instruction-selector.
I think that including entire code snippets will probably rot over time and potentially confuse readers.
I think in general, it would be good to focus on high-level concepts so that we don't need to do as much work keeping this in sync with the code.
Also, I'm not sure if we have documentation on terminology like "incoming arguments". If we do, I think it would be useful to link to the documentation for the terminology.
llvm/docs/GlobalISel/AArch64examples.rst | ||
---|---|---|
2 | Maybe more concise? | |
12 | Can you expand on this a little?
| |
22 | I think that this code sample may rot over time. I think it would be better to describe, at a high level
And then say "see AArch64CallLowering::lowerFormalArguments" for a sample. |
yes sure. Thanks for your feedback. This is the basic structure that i thought to made . I will be writing more descriptions and will add only the relevant code. I just wanted to get a quick feedback from you all , so that I get an idea what needs to be added and deleted. Your reviews are really helpful. Thanks! I will update soon.
Maybe more concise?