LLVM backend for OpenRISC 1000
C++ LLVM Assembly Python Objective-C C Other
Pull request Compare This branch is 41266 commits ahead of skristiansson:master.
Failed to load latest commit information.
autoconf Merge remote-tracking branch 'upstream/release_38' Mar 31, 2016
bindings Deprecate a few C APIs. Dec 18, 2015
cmake Merging r260641: Feb 12, 2016
docs ReleaseNotes: tidy up Mar 2, 2016
examples Fix examples corresponding to r257302. Jan 11, 2016
include Merge remote-tracking branch 'upstream/release_38' Mar 31, 2016
lib [OR1K] Implement support for l.{lwa,swa} instructions. Jul 14, 2016
projects [CMake] Disable adding the test suite as a projects subdirectory Oct 28, 2015
resources In MSVC builds embed a VERSIONINFO resource in our exe and DLL files. Jun 12, 2015
test Merge remote-tracking branch 'upstream/release_38' Mar 31, 2016
tools Merging r260703: Feb 12, 2016
unittests Fix PointerIntPair so that it can use an enum class as its integer te… Jan 13, 2016
utils Merging r260641: Feb 12, 2016
.arcconfig Updated phabricator server. Apr 7, 2014
.clang-format Test commit. Mar 2, 2014
.clang-tidy adding readability-identifier-naming to llvm clang-tidy configuration. Dec 8, 2015
.gitignore Minor updates to gitignore so that symlinks are ignored in the projec… Jul 7, 2015
CMakeLists.txt Merge remote-tracking branch 'upstream/release_38' Mar 31, 2016
CODE_OWNERS.TXT The PS4 baton passes. Dec 19, 2015
CREDITS.TXT [WebAssembly] Initial WebAssembly backend Jun 29, 2015
LICENSE.TXT Update for a new year. Mar 12, 2015
LLVMBuild.txt Remove the very substantial, largely unmaintained legacy PGO Oct 2, 2013
Makefile [configure/make] Propagate names of build host tools when making Buil… Mar 25, 2014
Makefile.common Makefile.common: Update a description, s/Source/SOURCES/ , according … Dec 7, 2012
Makefile.config.in We're actually -Wmissing-field-initializers clean thanks to the cmake Aug 7, 2015
Makefile.rules Create Makefile variables for 'share' and 'libexec' Nov 9, 2015
README.or1k OR1K: Added basic ELFWriter Sep 11, 2012
README.txt Revert previous test commit. Jan 4, 2016
configure Merge remote-tracking branch 'upstream/release_38' Mar 31, 2016
llvm.spec.in [Sparc] Implement i64 load/store support for 32-bit sparc. Aug 10, 2015


LLVM backend for OpenRISC 1000

mkdir build && cd build

with autotools:
../configure CC=gcc CXX=g++ --enable-debug-runtime --prefix=/path/to/instdir

with cmake:
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/path/to/instdir

make install

Run tests
make check
make TESTSUITE=CodeGen/OR1K check
make TESTSUITE=MC/OR1K check


bin/llvm-lit -sv -j1 test/CodeGen/OR1K/

TODO (not a complete list)
- Handle unconditional branches in AnalyzeBranch
- Floating point support
- Integrated assembler support
- Relocations