[clang] [llvm] [OpenASIP] Update the TCE target defs for OpenASIP 2.2 (PR #176698)

Henry Linjamäki via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 20 03:16:12 PST 2026


================
@@ -601,7 +601,20 @@ std::string Triple::computeDataLayout(StringRef ABIName) const {
   case Triple::systemz:
     return computeSystemZDataLayout(*this);
   case Triple::tce:
+    return "E-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:32-"
+           "f16:16:16-f32:32:32-f64:32:32-v64:64:64-i128:128-v128:128:128-"
+           "v256:256:256-v512:512:512-v1024:1024:1024-v2048:2048:2048-"
+           "v4096:4096:4096-a0:0:32-n32";
   case Triple::tcele:
+    return "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:32-"
----------------
linehill wrote:

Do as you see fit - to me the discrepancy of i1's alignment seemed unintentional.

https://github.com/llvm/llvm-project/pull/176698


More information about the cfe-commits mailing list