Commit Graph

373 Commits

Author SHA1 Message Date
bjorn3
72c34be975 Implement raw ptr -> int of native pointer size cast 2018-11-13 18:57:59 +01:00
bjorn3
ea113ec82e Implement intrinsic "exact_div" 2018-11-13 18:50:45 +01:00
bjorn3
b906adfffe Implement some missing CastKind::Misc casts 2018-11-13 18:38:10 +01:00
bjorn3
127e080f62 Implement ProjectionElem::ConstantIndex 2018-11-13 18:28:10 +01:00
bjorn3
e5ab49e762 Rustup to rustc 1.32.0-nightly (65204a97d 2018-11-12) 2018-11-13 18:25:21 +01:00
bjorn3
a3263bafe0 Change some unimplemented! to unimpl! 2018-11-13 17:58:42 +01:00
bjorn3
25ba0d6b27 Merge remote-tracking branch 'sunfishcode/master' 2018-11-12 19:38:31 +01:00
bjorn3
1fb6912cfd Rustup to rustc 1.32.0-nightly (ca79ecd69 2018-11-11)
I had to put the original source of liballoc_system in tree, because it got removed from rustc
2018-11-12 19:37:54 +01:00
Dan Gohman
7b5f4894f1 Change "cton" to "clif". 2018-11-12 07:20:42 -08:00
Dan Gohman
27d90ab1d5 Change "cretonne" to "cranelift". 2018-11-12 07:20:32 -08:00
bjorn3
ef5d16178d
Merge pull request #144 from bjorn3/wip_linker
Linker
2018-11-11 11:42:06 +01:00
bjorn3
29e1d617d4 Remove commented out code 2018-11-11 11:40:41 +01:00
bjorn3
f955c8ef2a Move all functions in link.rs copied from cg_llvm to link_copied.rs 2018-11-11 11:40:41 +01:00
bjorn3
7ef83ec641 Disable alloc_example and compile mod_bench_inline's sysroot with -Zmir-opt-level=3 2018-11-11 11:40:41 +01:00
bjorn3
640d66c777 Call linker from cg_clif 2018-11-11 11:40:31 +01:00
bjorn3
104e9ffe89 Update cranelift 2018-11-10 15:19:26 +01:00
bjorn3
b9c648daed Rustfmt 2018-11-10 15:12:00 +01:00
bjorn3
c88353c942 Warn and error about some things and make METADATA_FILENAME an &str 2018-11-10 15:01:01 +01:00
bjorn3
9ceb1a170b Misc renames and changes 2018-11-10 12:49:25 +01:00
bjorn3
c2be4b83f1 Rustup to rustc 1.32.0-nightly (36a50c29f 2018-11-09) 2018-11-10 10:52:23 +01:00
bjorn3
e1fc9a56d9 Update dependencies 2018-11-09 18:03:47 +01:00
bjorn3
7d602513b1 Rustup to rustc 1.32.0-nightly (653da4fd0 2018-11-08) 2018-11-09 17:54:28 +01:00
bjorn3
85d0c1f487 [Travis] test on macOS too 2018-11-07 14:07:12 +01:00
bjorn3
d0a3f99214 Introduce link module 2018-11-07 14:04:44 +01:00
bjorn3
0b76af2095 Remove should_codegen 2018-11-07 13:35:10 +01:00
bjorn3
29b4c34c54 Rustfmt 2018-11-07 13:32:02 +01:00
bjorn3
b73bda1c3f Fix warnings 2018-11-07 13:31:02 +01:00
bjorn3
648f491977 Enable feature gate extern_crate_item_prelude 2018-11-07 13:29:38 +01:00
bjorn3
d20f54bb1a Add some benchmarks 2018-11-05 18:42:43 +01:00
bjorn3
4e4cad8a20 Allocator shim 2018-11-05 18:29:15 +01:00
bjorn3
f19f8e4b49 Use tcx.collect_and_partition_mono_items 2018-11-05 18:27:10 +01:00
bjorn3
d67fd16982 Use cg_utils::symbol_export::provide{,_extern} 2018-11-05 18:13:58 +01:00
bjorn3
438bee5fb1 Rustup to rustc 1.32.0-nightly (e6c5cf923 2018-11-04) 2018-11-05 18:03:47 +01:00
bjorn3
4f7f65ce55 Rustup to rustc 1.32.0-nightly (04fdb44f5 2018-11-03) 2018-11-04 15:29:01 +01:00
bjorn3
c080c0bfec Misc changes 2018-11-03 15:04:27 +01:00
bjorn3
fc8a6c343a Update Cargo.lock
Also update for cranelift changes.
2018-11-03 13:14:28 +01:00
bjorn3
23e0b0bd9c Rustup to rustc 1.32.0-nightly (8b096314a 2018-11-02) 2018-11-03 12:49:55 +01:00
bjorn3
12a5d777d3 Misc build.sh changes 2018-11-02 20:09:52 +01:00
bjorn3
58f076cf38 Print pass mode for locals in clif 2018-11-02 19:50:30 +01:00
dependabot[bot]
3b9f98e8df
Merge pull request #130 from bjorn3/dependabot/cargo/cranelift-8382f9e 2018-11-01 06:45:23 +00:00
dependabot[bot]
7fe1745d6b
Bump cranelift from 48fe38d to 8382f9e
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `48fe38d` to `8382f9e`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](48fe38d756...8382f9e988)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-01 06:22:47 +00:00
dependabot[bot]
3740bd4359
Merge pull request #125 from bjorn3/dependabot/cargo/cranelift-48fe38d 2018-10-31 07:25:49 +00:00
dependabot[bot]
d7cf54dcac
Bump cranelift from 1f43e47 to 48fe38d
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `1f43e47` to `48fe38d`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](1f43e47458...48fe38d756)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-31 05:51:48 +00:00
bjorn3
cf71df0da4 Rustup to rustc 1.31.0-nightly (d586d5d2f 2018-10-29) 2018-10-30 17:58:42 +01:00
dependabot[bot]
72f47d698e
Merge pull request #120 from bjorn3/dependabot/cargo/cranelift-1f43e47 2018-10-29 06:36:39 +00:00
dependabot[bot]
a658322df1
Bump cranelift from b874861 to 1f43e47
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `b874861` to `1f43e47`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](b874861920...1f43e47458)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 05:25:12 +00:00
bjorn3
172e705b27 Rustup to rustc 1.31.0-nightly (cae6efc37 2018-10-27) 2018-10-28 18:23:03 +01:00
bjorn3
52ab6583dc Better clif file writing 2018-10-27 18:23:37 +02:00
bjorn3
42c735dd78 Update Cargo.lock 2018-10-27 18:16:18 +02:00
bjorn3
fe3a9660ea Bump cranelift 2018-10-25 17:36:29 +02:00