granite-rust/tests
David Wood 46652dd254
llvm: simplify data layout check
Don't skip the inconsistent data layout check for custom LLVMs.

With , all targets will have a simple test that would trigger this
check if LLVM's data layouts do change - so data layouts would be
corrected during the LLVM upgrade. Therefore, with builtin targets, this
check won't trigger with our LLVM because each target will have been
confirmed to work. With non-builtin targets, this check is probably
useful to have because you can change the data layout in your target and
if its wrong then that could lead to bugs.

When using a custom LLVM, the same justification makes sense for
non-builtin targets as with our LLVM, the user can update their target to
match their LLVM and that's probably a good thing to do. However, with
a custom LLVM, the user cannot change the builtin target data layouts if
they don't match - though given that the compiler's data layout is used
for layout computation and a bunch of other things - you could get some
bugs because of the mismatch and probably want to know about that.

`CFG_LLVM_ROOT` was also always set during local development with
`download-ci-llvm` so this bug would never trigger locally.

Signed-off-by: David Wood <david@davidtw.co>
2024-01-18 10:46:03 +00:00
..
assembly tests: add sanity-check assembly test for every target 2024-01-17 09:44:11 +00:00
auxiliary
codegen Auto merge of - scottmcm:option-unwrap-failed, r=WaffleLapkin 2024-01-16 15:32:39 +00:00
codegen-units Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
coverage coverage: llvm-cov expects column numbers to be bytes, not code points 2024-01-08 21:58:46 +11:00
coverage-run-rustdoc coverage: Rename the run-coverage test mode to coverage-run 2023-11-08 16:41:24 +11:00
debuginfo update debuginfo tests on Windows 2024-01-12 08:50:14 +01:00
incremental Disable opt in incremental test. 2023-12-24 20:08:58 +00:00
mir-opt Do not read a scalar on a non-scalar layout. 2024-01-16 22:32:48 +00:00
pretty Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
run-make llvm: simplify data layout check 2024-01-18 10:46:03 +00:00
run-make-fulldeps Auto merge of - veera-sivarajan:fix-makefile, r=Mark-Simulacrum 2024-01-05 07:42:03 +00:00
run-pass-valgrind
rustdoc Rollup merge of - notriddle:master, r=fmease 2024-01-14 20:17:23 +01:00
rustdoc-gui rustdoc ui: adjust tooltip z-index to be above sidebar 2023-12-31 20:31:56 +01:00
rustdoc-js Rollup merge of - notriddle:notriddle/tuple-unit, r=GuillaumeGomez 2024-01-06 16:07:46 +01:00
rustdoc-js-std Rollup merge of - notriddle:notriddle/tuple-unit, r=GuillaumeGomez 2024-01-06 16:07:46 +01:00
rustdoc-json Add regression test for is_object_safe field on traits 2023-12-23 19:00:17 +01:00
rustdoc-ui Rollup merge of - notriddle:master, r=fmease 2024-01-14 20:17:23 +01:00
ui llvm: simplify data layout check 2024-01-18 10:46:03 +00:00
ui-fulldeps Auto merge of - cjgillot:dse-sandwich, r=oli-obk 2024-01-16 11:34:16 +00:00
COMPILER_TESTS.md