forked from M-Labs/artiq
1
0
Fork 0

llvm_or1k_setup.txt: we are still using llvm 3.3 opcode numbers

This commit is contained in:
Sebastien Bourdeauducq 2014-06-24 17:45:44 +02:00
parent 74cdafdde5
commit c4f49e7dff
1 changed files with 13 additions and 0 deletions

View File

@ -380,3 +380,16 @@ index 8f260f0..1771bce 100644
} }
namespace { namespace {
/// OR1K Code Generator Pass Configuration Options. /// OR1K Code Generator Pass Configuration Options.
In llvmpy, edit core.h and replace line 177:
if llvm.version <= (3, 3):
OPCODE_ICMP = 45
OPCODE_FCMP = 46
...
with:
if True:
OPCODE_ICMP = 45
OPCODE_FCMP = 46
...