[llvm] r361521 - UpdateTestChecks: -march=mips/-march=mipsel is mips triple.

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 11:08:00 PDT 2019


Author: lebedevri
Date: Thu May 23 11:08:00 2019
New Revision: 361521

URL: http://llvm.org/viewvc/llvm-project?rev=361521&view=rev
Log:
UpdateTestChecks: -march=mips/-march=mipsel is mips triple.

Again, a mixture of march and triple, with majority being march:

llvm/test/CodeGen/Mips$ grep -ri triple | wc -l
818
llvm/test/CodeGen/Mips$ grep -ri march | wc -l
1457

Modified:
    llvm/trunk/utils/UpdateTestChecks/asm.py

Modified: llvm/trunk/utils/UpdateTestChecks/asm.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/UpdateTestChecks/asm.py?rev=361521&r1=361520&r2=361521&view=diff
==============================================================================
--- llvm/trunk/utils/UpdateTestChecks/asm.py (original)
+++ llvm/trunk/utils/UpdateTestChecks/asm.py Thu May 23 11:08:00 2019
@@ -219,6 +219,7 @@ def scrub_asm_wasm32(asm, args):
 def get_triple_from_march(march):
   triples = {
       'amdgcn': 'amdgcn',
+      'mips': 'mips',
       'sparc': 'sparc',
   }
   for prefix, triple in triples.items():




More information about the llvm-commits mailing list