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

Pekka Jääskeläinen via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 20 03:01:24 PST 2026


================
@@ -120,6 +122,9 @@ class LLVM_LIBRARY_VISIBILITY TCETargetInfo : public TargetInfo {
   ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override {
     return {};
   }
+
+  // TCE does not have fixed, but user specified register names.
+  bool isValidGCCRegisterName(StringRef Name) const override { return true; }
----------------
pjaaskel wrote:

IIRC to check the inline asm I/O strings and we do this only when the target and its register files have been defined by the loaded backend plugin, so it's too early to do it here.

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


More information about the llvm-commits mailing list