================ @@ -83,16 +85,150 @@ static void collectClobbers(const CIRGenFunction &cgf, const AsmStmt &s, } } +using ConstraintInfos = SmallVector<TargetInfo::ConstraintInfo, 4>; ---------------- andykaylor wrote:
The type alias here seems problematic because it results in using a SmallVector reference as an argument type, which is typically strongly discouraged. I suppose the type alias does enforce that the template arguments match, so maybe that's OK? Is there justification for the `4`? https://github.com/llvm/llvm-project/pull/176006 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
