mirror of https://github.com/m-labs/artiq.git
llvm_or1k_setup.txt: we are still using llvm 3.3 opcode numbers
This commit is contained in:
parent
74cdafdde5
commit
c4f49e7dff
|
@ -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
|
||||||
|
...
|
||||||
|
|
Loading…
Reference in New Issue