================ @@ -139,7 +139,7 @@ class Lint : public InstVisitor<Lint> { Lint(Module *Mod, const DataLayout *DL, AliasAnalysis *AA, AssumptionCache *AC, DominatorTree *DT, TargetLibraryInfo *TLI) - : Mod(Mod), TT(Triple::normalize(Mod->getTargetTriple())), DL(DL), AA(AA), + : Mod(Mod), TT(Mod->getTargetTriple().normalize()), DL(DL), AA(AA), ---------------- dtcxzyw wrote:
I don't understand the call to `normalize` here. `Triple->std::string->Triple` looks unnecessary. https://github.com/llvm/llvm-project/pull/129868 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits