LLVM backend for OpenRISC 1000
Clone or download
Pull request Compare This branch is 74251 commits ahead of skristiansson:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bindings Merging r325946: Feb 26, 2018
cmake Merging r322973: Jan 22, 2018
docs ReleaseNotes: move the retpoline bullet higher Mar 2, 2018
examples PR35705: Fix Chapter 9 example code for API changes to DIBuilder Dec 20, 2017
include Merge remote-tracking branch 'upstream/release_60' Mar 30, 2018
lib [OR1K] Add missing initializer. Apr 6, 2018
projects [cmake] Support moving debuginfo-tests to llvm/projects Dec 12, 2017
resources In MSVC builds embed a VERSIONINFO resource in our exe and DLL files. Jun 12, 2015
runtimes [runtimes] Add install-*-stripped targets Dec 8, 2017
test Merge remote-tracking branch 'upstream/release_60' Mar 30, 2018
tools Merging r323155: Feb 2, 2018
unittests Merging r323034: Jan 22, 2018
utils Merging r322875: Jan 20, 2018
.arcconfig project_id is from another era in phabricator land and does not provi… Sep 27, 2016
.clang-format Test commit. Mar 2, 2014
.clang-tidy .clang-tidy: correct style name is 'camelBack' not 'lowerCase'. Sep 13, 2016
.gitattributes [MC] Fix regression tests on Windows when git “core.autocrlf” is set … Nov 17, 2017
.gitignore gitignore: Ignore .vs folder (VS2017 config files) Apr 8, 2017
CMakeLists.txt Drop 'svn' suffix from the version number. Jan 3, 2018
CODE_OWNERS.TXT Update my email addresses, NFC. Oct 26, 2017
CREDITS.TXT Add myself to CREDITS.txt Sep 18, 2017
LICENSE.TXT Bump year to 2017 in LICENSE.txt Jan 12, 2017
LLVMBuild.txt Remove the very substantial, largely unmaintained legacy PGO Oct 2, 2013
README.or1k OR1K: Added basic ELFWriter Sep 11, 2012
README.txt Test commit access Aug 18, 2017
RELEASE_TESTERS.TXT Update my email addresses, NFC. Oct 26, 2017
configure Remove autoconf support Jan 26, 2016
llvm.spec.in [Sparc] Implement i64 load/store support for 32-bit sparc. Aug 10, 2015

README.or1k

LLVM backend for OpenRISC 1000
==============================

Installation
------------
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

or

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