[clang] [llvm] [polly] [IR] Store Triple in Module (NFC) (PR #129868)

Yingwei Zheng via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 5 04:36:48 PST 2025


================
@@ -153,7 +153,7 @@ struct VerifierSupport {
   bool TreatBrokenDebugInfoAsError = true;
 
   explicit VerifierSupport(raw_ostream *OS, const Module &M)
-      : OS(OS), M(M), MST(&M), TT(Triple::normalize(M.getTargetTriple())),
+      : OS(OS), M(M), MST(&M), TT(M.getTargetTriple().normalize()),
----------------
dtcxzyw wrote:

`Triple->std::string->Triple`

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


More information about the cfe-commits mailing list