Commit Graph

35 Commits

Author SHA1 Message Date
Guillaume Gomez
549fbe8ecb Set llvm-filecheck binary path into rustc config 2022-10-18 17:44:33 +02:00
Guillaume Gomez
ccfe7d8898 Add asm test suite 2022-10-18 16:31:49 +02:00
Paul Cacheux
94d58b1bd3 remove not applicable rustc patch 2022-10-15 16:20:42 +02:00
Antoni Boucher
af28dec7d1 Add CI tests with a sysroot compiled in release mode 2022-09-30 17:53:06 -04:00
Antoni Boucher
3e6710962e Fix build of release sysroot in test.sh 2022-09-14 08:26:59 -04:00
Antoni Boucher
61a7b96c80 Disable test mir_heavy_promoted 2022-08-27 11:44:21 -04:00
Antoni Boucher
eed6603c0a Fix tests 2022-08-27 11:10:34 -04:00
Guillaume Gomez
96d103b9f9 Sort ui_tests to ensure they remain coherent across different jobs 2022-07-08 16:19:48 +02:00
Guillaume Gomez
50f359c8a1 Split tests to have faster CI 2022-07-07 23:15:58 +02:00
Antoni Boucher
d19a5ea868 Fix all command 2022-07-06 15:24:53 -04:00
Antoni Boucher
16ca66d664 Fix build only 2022-07-06 15:24:53 -04:00
Guillaume Gomez
0ba53c8211 Split rustc tests in two 2022-07-05 19:46:59 +02:00
antoyo
78e4713963
Merge pull request #188 from GuillaumeGomez/simplify-ci
Simplify CI
2022-06-29 11:36:05 -04:00
Guillaume Gomez
4ef0d19bec Add --mini-tests option and run mini-tests in CI 2022-06-29 15:40:11 +02:00
Guillaume Gomez
ed37ed7cb8 Simplify github actions conf 2022-06-26 22:33:28 +02:00
Antoni Boucher
161ccb36b1 Disable UI tests that fail on the rustc side 2022-06-24 19:27:53 -04:00
Guillaume Gomez
5e6a3be56c Merge duplicated rules 2022-06-24 21:47:37 +02:00
Antoni Boucher
4dc0bbf40e Add dummy fast math implementation 2022-06-23 09:55:33 -04:00
Antoni Boucher
889c402258 Fix test.sh --build 2022-04-23 10:48:12 -04:00
antoyo
4210fd49cb
Merge pull request #160 from MikaelUrankar/master
Don't assume /bin/bash is available on every system.
2022-04-15 11:06:01 -04:00
MikaelUrankar
330127599a Don't assume /bin/bash is available on every system. 2022-04-14 14:12:06 +02:00
Antoni Boucher
4d7de81199 Add feature for future libgccjit 12 release 2022-04-13 23:01:01 -04:00
Antoni Boucher
02970a6ca8 Add support for target builtins 2022-03-29 21:41:17 -04:00
bjorn3
724473b330 Fix compiletest compilation 2022-03-26 16:29:27 +01:00
lightning1141
7c1f863d74
Stop removing the llvm-asm tests in test.sh since they don't exist anymore 2022-03-08 11:40:28 +08:00
bjorn3
28ba4302cc Sync from rust a00e130dae 2022-02-01 17:49:41 +01:00
antoyo
41f20fa3a5
Support 128-bit integers on platforms without native support (#103)
* Use sized integer types

* Add support for integer types not supported on some platforms

* Add feature to test non-native integers in CI
2022-01-30 21:45:14 -05:00
bjorn3
6663f4e78e Move rustup component installation to rust-toolchain
This allows cargo check to function correctly without having to first
run prepare_build.sh. cg_clif has been using rust-toolchain too for a
while now.
2022-01-25 13:28:42 +01:00
Josh Triplett
37069f1a08 Update references to -Z symbol-mangling-version to use -C
Replace `-Z symbol-mangling-version=v0` with `-C symbol-mangling-version=v0`.

Replace `-Z symbol-mangling-version=legacy` with
`-Z unstable-options -C symbol-mangling-version=legacy`.
2022-01-01 15:53:11 -08:00
antoyo
63608ac6b3
Fix/mismatch types (#94)
* Refactor test.sh script

* Fix mismatched types error
2021-09-27 19:31:24 -04:00
antoyo
ab4ff2dfe0
Cleanup fix for global initialization (#93)
* Cleanup fix for global initialization
* Remove linker script hack
* Use v0 symbol mangling
* Fix warnings
2021-09-27 09:34:06 -04:00
Commeownist
48d60ab7c5
Update to nightly-2021-09-11 (#79)
* Implement `black_box` as intrinsic

Responsibility of implementing the black box is now lies on backend

* Remove some TODOs

* Update to nightly-2021-09-17

* CI: don't fail on warnings
2021-09-17 17:19:25 -04:00
Commeownist
7c707e4b95
Implement basic inline asm support (#72)
* Implement basic support for inline assembly

* Disable LTO

We don't support it yet at all

* Handle `inout(reg) var` correctly

Turns out that `+` readwrite output registers cannot be tied with
input variables.

* Add limited support for llvm_asm!

* Handle CHANNEL correctly

* Add support for arbitrary explicit registers

* Handle symbols properly

* Add rudimentary asm tests

* Exclude llvm_asm! tests from tests runs

* Insert `__builtin_unreachable()` after diverging asm blocks
2021-09-05 11:26:01 -04:00
antoyo
e228f0c16e
Cleanup (#67) 2021-08-15 08:28:46 -04:00
Antoni Boucher
afae271d5d Initial commit 2021-08-12 21:46:50 -04:00