tests: Update f16b codegen test for LoongArch and RISC-V - #163146
Conversation
|
r? @fee1-dead rustbot has assigned @fee1-dead. Use Why was this reviewer chosen?The reviewer was selected based on:
|
| @@ -1,4 +1,8 @@ | |||
| //@ compile-flags: -Copt-level=3 | |||
| //@ ignore-loongarch32 | |||
There was a problem hiding this comment.
Can you add a fixme like "FIXME: ignored on LoongArch and RISC-V until we can use llvm/llvm-project#224867" or similar?
|
r? me |
2834e82 to
db3bc15
Compare
| @@ -1,4 +1,9 @@ | |||
| //@ compile-flags: -Copt-level=3 | |||
| // FIXME: ignored on LoongArch and RISC-V until we can use llvm/llvm-project#224867 | |||
There was a problem hiding this comment.
this should use the full link, so we can click it in editors, copy paste it, etc
| // FIXME: ignored on LoongArch and RISC-V until we can use llvm/llvm-project#224867 | |
| // FIXME: ignored on LoongArch and RISC-V until we can use https://github.com/llvm/llvm-project/pull/224867 |
|
I don't think this is related to llvm/llvm-project#224867. This is instead caused by the RISC-V and Loongarch ABIs always using |
|
cc @Jamesbarford who mentioned this PR to me |
|
Let's just add the ignores without explanations then. |
Add target-specific revisions to the `f16b` codegen test to account for LoongArch and RISC-V lowering `f16b` to LLVM `half` rather than `bfloat`.
db3bc15 to
41ae947
Compare
f16b test for LoongArch and Risc-Vf16b codegen test for LoongArch and RISC-V
|
Thanks! I went with target-specific revisions so that the test still runs on all supported targets. |
|
Thanks! @bors r+ rollup |
tests: Update `f16b` codegen test for LoongArch and RISC-V Fixes rust-lang#163145
…uwer Rollup of 13 pull requests Successful merges: - #156949 (Detect missing else in let statement) - #160436 (stabilize `Box::take`) - #160570 (macro_metavar_expr_concat: support concatenating into string literals) - #162837 (Dedicated Display type for CStr::display) - #163099 (Use wrapping arithmetic in `from_str_radix`) - #163166 (Tiny cleanups to deferred liveness) - #161667 (Add `f16` inline ASM support for `nvptx64-nvidia-cuda`) - #163063 (Restore `Send` and `Sync` for `BorrowedCursor`) - #163097 (OpenBSD/sparc64 has switched from GCC to Clang) - #163126 (Skip redundant storage-conflict updates during coroutine layout) - #163135 (librustdoc: remove stale dep on base64) - #163146 (tests: Update `f16b` codegen test for LoongArch and RISC-V) - #163159 (treat inductive cycles as ambig)
Fixes #163145