[PATCH] D100992: Fix the triple used in llvm-mca

Kai Nacke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 11:28:30 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG832340ca879a: Fix the triple used in llvm-mca. (authored by Kai).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100992/new/

https://reviews.llvm.org/D100992

Files:
  llvm/tools/llvm-mca/llvm-mca.cpp


Index: llvm/tools/llvm-mca/llvm-mca.cpp
===================================================================
--- llvm/tools/llvm-mca/llvm-mca.cpp
+++ llvm/tools/llvm-mca/llvm-mca.cpp
@@ -236,6 +236,9 @@
     return nullptr;
   }
 
+  // Update TripleName with the updated triple from the target lookup.
+  TripleName = TheTriple.str();
+
   // Return the found target.
   return TheTarget;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100992.339738.patch
Type: text/x-patch
Size: 392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210422/bc1219f9/attachment.bin>


More information about the llvm-commits mailing list