summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Nios2/Nios2Subtarget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Nios2] final infrastructure to provide compilation of a return from a functionNikolai Bozhenov2017-12-071-11/+6
| | | | | | | | | | | | This patch includes all missing functionality needed to provide first compilation of a simple program that just returns from a function. I've added a test case that checks for "ret" instruction printed in assembly output. Patch by Andrei Grischenko (andrei.l.grischenko@intel.com) Differential revision: https://reviews.llvm.org/D39688 llvm-svn: 320035
* [Nios2] Subtarget, basic infrastructure for frame, instructions and registersNikolai Bozhenov2017-09-191-0/+61
This is the second minimal patch keeping Nios2 target buildable. I'm adding subtarget here and other stuff for frame lowering, instruction, register information methods. I do not add any test cases, as still there are missing parts like DAG selector and assembly printing. I plan to include them into the next patch. Patch by Andrei Grischenko <andrei.l.grischenko@intel.com> Differential Revision: https://reviews.llvm.org/D37256 llvm-svn: 313626
OpenPOWER on IntegriCloud