================
@@ -80,6 +80,8 @@ class Triple {
riscv64, // RISC-V (64-bit, little endian): riscv64
riscv32be, // RISC-V (32-bit, big endian): riscv32be
riscv64be, // RISC-V (64-bit, big endian): riscv64be
+ sh, // SuperH (big endian): sh
+ shl, // SuperH (little endian): shl
----------------
glaubitz wrote:
> * Reject plain `sh[cpu]` in triple parsing.
That would break Debian which configures packages with `--host=sh4-linux-gnu`.
Also, I think I made the assumption that `sh3-linux-gnu` and `sh4-linux-gnu`
in packages like `libseccomp` when I added SuperH support because I wasn't
aware that there were triplets where plain `sh` would default to big-endian.
https://github.com/llvm/llvm-project/pull/181287
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits