Commit Graph

2185 Commits

Author SHA1 Message Date
bjorn3
ef4186a85b Use Cranelift legalization for icmp.i128
The previous translation was wrong for signed 128bit comparisions

This fixes several libcore tests
2020-06-20 13:23:31 +02:00
bjorn3
5c6bf836fe Implement #[link_section]
Fixes #1047
2020-06-20 12:01:24 +02:00
bjorn3
f718378f11 Ignore libcore test that requires unwinding support 2020-06-20 11:31:48 +02:00
bjorn3
b4d9d8a4cc Update Cranelift 2020-06-20 11:21:52 +02:00
bjorn3
266ca933f4 Rustup to rustc 1.46.0-nightly (2d8bd9b74 2020-06-19) 2020-06-20 11:10:27 +02:00
bjorn3
3086e44733 Only call build_value_labels_ranges when necessary 2020-06-16 13:27:24 +02:00
bjorn3
d4187e6aae Make mini_core_hello_world work on Windows once TLS is supported 2020-06-16 11:50:58 +02:00
bjorn3
282e3055e1 Only run ranlib when necessary 2020-06-16 11:40:21 +02:00
bjorn3
daad966be7 Some changes necessary for Windows support
cc #977
2020-06-16 11:36:39 +02:00
bjorn3
b6144483ef Revert "[CI] Run the compile step with CARGO_INCREMENTAL=1"
This reverts commit af0fa74615.

It didn't do anything
2020-06-16 11:08:06 +02:00
bjorn3
af0fa74615
[CI] Run the compile step with CARGO_INCREMENTAL=1 2020-06-16 11:02:26 +02:00
bjorn3
fcd596714b Remove pin of the libc crate for the sysroot
The latest libc version has fixed the compilation error
2020-06-16 10:54:18 +02:00
bjorn3
a76748e54a Fix warnings in alloc_example.rs 2020-06-16 10:42:44 +02:00
bjorn3
5443f39f87 Update dependencies 2020-06-16 10:41:19 +02:00
bjorn3
d471c1b521 Update Cranelift 2020-06-16 10:38:12 +02:00
bjorn3
bd6e0e6e12 Rustup to rustc 1.46.0-nightly (f315c35a7 2020-06-15) 2020-06-16 10:24:24 +02:00
bjorn3
9510791fce Compile sysroot in release mode by default
Fixes #938
2020-06-13 19:19:38 +02:00
bjorn3
eb5ce4e92a Remove FunctionDebugContext 2020-06-13 17:03:34 +02:00
bjorn3
16b5dac463 Remove all non-tcx references from CodegenCx 2020-06-12 21:15:13 +02:00
bjorn3
ba7cdf21be Emit unwind info for main and alloc shim
Fixes #988
2020-06-12 19:31:35 +02:00
bjorn3
e1a77a5ce6 Update dependencies 2020-06-12 19:11:40 +02:00
bjorn3
e4596aa080 Update Cranelift 2020-06-12 19:07:04 +02:00
bjorn3
b84c9764db Rustup to rustc 1.46.0-nightly (a37c32e2d 2020-06-11) 2020-06-12 18:41:50 +02:00
bjorn3
cef9255c0e Rustup to rustc 1.46.0-nightly (449e8eaa2 2020-06-10) 2020-06-11 13:12:47 +02:00
dependabot-preview[bot]
fe64aa7d34
Merge pull request #1040 from bjorn3/dependabot/cargo/cranelift-codegen-4bb5894 2020-06-08 06:15:26 +00:00
dependabot-preview[bot]
eb489599d6
Bump cranelift-codegen from 00abfcd to 4bb5894
Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `00abfcd` to `4bb5894`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](00abfcd943...4bb58940c7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 05:26:17 +00:00
bjorn3
456c14f9e8 Update dependencies 2020-06-05 12:43:42 +02:00
bjorn3
bc555764bd Update Cranelift 2020-06-05 12:40:33 +02:00
bjorn3
6b54b7c9f4 Remove sign extension for ty::Int from CValue::const_val 2020-06-05 12:16:05 +02:00
bjorn3
648b634e21 Rustup to rustc 1.45.0-nightly (56daaf669 2020-06-03) 2020-06-04 19:57:12 +02:00
bjorn3
1e70c51f60
Merge pull request #1022 from osa1/clif_dump_in_release_mode
Dump clif with --emit llvm-ir in release mode
2020-05-29 11:12:02 +02:00
Ömer Sinan Ağacan
acbfa06ea2
Mark blocks that call cold funs as cold (#1021) 2020-05-29 11:06:29 +02:00
Ömer Sinan Ağacan
c0ad988a3a
Update src/pretty_clif.rs
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2020-05-29 11:53:58 +03:00
Ömer Sinan Ağacan
6dd0246199 Dump clif with --emit llvm-ir in release mode
Currently it's not possible to dump llvm-ir in release build. With this
patch we allow it with `--emit llvm-ir`. In debug build we dump clif
always as before.

Fixes #1020
2020-05-29 11:43:05 +03:00
Ömer Sinan Ağacan
bb4cc18cf2
Add simple-raytracer to .gitignore (#1023) 2020-05-29 08:48:00 +02:00
bjorn3
1c76bdc53a
Remove already fixed FIXME in driver/jit.rs 2020-05-27 11:08:41 +02:00
bjorn3
14a4adb482 Update depencencies 2020-05-25 13:08:50 +02:00
bjorn3
47f0256d56 Update Cranelift 2020-05-25 13:04:36 +02:00
bjorn3
d7682f52af Disable failing libcore test 2020-05-25 13:00:15 +02:00
bjorn3
bcd357a0ae Rustup to rustc 1.45.0-nightly (46e85b432 2020-05-24) 2020-05-25 12:41:33 +02:00
bjorn3
2e5282f929 [CI] Hash Cargo.lock in addition to toolchain for target dir cache 2020-05-10 17:36:13 +02:00
bjorn3
ac14f8d4de Update dependencies 2020-05-10 15:35:32 +02:00
bjorn3
fa57d9d0db Update Cranelift 2020-05-10 15:18:26 +02:00
bjorn3
c7e0dde38a Rustup to rustc 1.45.0-nightly (7ebd87a7a 2020-05-08) 2020-05-09 14:14:45 +02:00
bjorn3
27cc90effa Improvements for latest Cranelift 2020-05-05 12:16:28 +02:00
bjorn3
f8add1960a Document running rust code from the shell 2020-05-05 12:06:15 +02:00
bjorn3
6f9a4fda3a Set RUSTDOCFLAGS
Fixes #969
2020-05-05 12:03:27 +02:00
dependabot-preview[bot]
7643956574
Merge pull request #989 from bjorn3/dependabot/cargo/cranelift-codegen-c284ffe 2020-05-04 05:45:44 +00:00
dependabot-preview[bot]
875b5f7b34
Bump cranelift-codegen from ebd13ce to c284ffe
Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `ebd13ce` to `c284ffe`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](ebd13cee05...c284ffe6c0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 05:27:24 +00:00
bjorn3
020bcb31db Register frame table in JIT mode 2020-05-01 20:58:27 +02:00