================ @@ -90,6 +90,14 @@ bool SystemZTargetInfo::validateAsmConstraint( case 'T': // Likewise, plus an index Info.setAllowsMemory(); return true; + case '@': + // CC condition changes. + if (strlen(Name) >= 3 && *(Name + 1) == 'c' && *(Name + 2) == 'c') { ---------------- arsenm wrote:
Avoid strlen, use StringRef https://github.com/llvm/llvm-project/pull/125970 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits