Hello,
This patch is part of our effort to implement Nios2 architecture support in LLVM and clang (our plans were announced in mailing list thread: "[llvm-dev] [RFC] Nios II backend" form April 12th).
This patch depends on changes introduced by patch D32669.
The patch contains following additions:
- Nios2 builtins;
- using -march or -mcpu options to specify Nios2 CPU type (R1 or R2) ;
- TargetInfo class implementation for Nios2.
Please let me know what you think about proposed change set.
Kind regards,
Mateusz Belicki
No need to indent enum inside namespace.
http://llvm.org/docs/CodingStandards.html#namespace-indentation