diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-01-14 13:04:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-14 13:04:23 +0100 |
| commit | 47fa7faf764c6e55842eb2da3737dba786a1cccc (patch) | |
| tree | d83d6bc134f3a5f88c17ad1b957e9233dc7af00e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 44a500c8c187b245638684748f54bd6ec67e0b25 (diff) | |
| parent | 6885733c41844ac0ea24b965e91616a16a631697 (diff) | |
| download | rust-47fa7faf764c6e55842eb2da3737dba786a1cccc.tar.gz rust-47fa7faf764c6e55842eb2da3737dba786a1cccc.zip | |
Rollup merge of #106046 - uweigand:s390x-test-bigendian-mir, r=Mark-Simulacrum
Fix mir-opt tests for big-endian platforms The test cases src/test/mir-opt/building/custom/consts.rs and src/test/mir-opt/const_prop/mutable_variable_no_prop.rs are currently failing on big-endian platforms as the binary encoding of some constants is hard-coded in the MIR test files. Fix this by choosing constant values that have the same encoding on big- and little-endian platforms. The test case src/test/mir-opt/issues/issue_75439.rs is failing as well, but since the purpose of the test is to validate handling of big-endian integer encodings on a little-endian platform, it does not make much sense to run it on big-endian platforms in the first place - we can just ignore it there. Fixed part of https://github.com/rust-lang/rust/issues/105383.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
