================
@@ -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:

What about making it configurable by adding an option that allow Clang to 
behave like GCC?

I'm asking because at least in Debian, we're configuring packages with 
`--host=sh4-linux-gnu` and if that option wouldn't work anymore, we wouldn't be 
able to build anything without patching.

There are also some packages that check for `sh*eb` and `sh*` but not `sh*l` as 
the latter has not existed yet as far as I know.

https://github.com/llvm/llvm-project/pull/181287
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to