[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:47 PST 2025


================
@@ -91,7 +91,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
   }
 
   // Set up the module to build for our target.
-  M->setTargetTriple(TM->getTargetTriple().normalize());
+  M->setTargetTriple(Triple(TM->getTargetTriple().normalize()));
----------------
dtcxzyw wrote:

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

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


More information about the cfe-commits mailing list