OSDN Git Service

UpdateTestChecks: -march=mips/-march=mipsel is mips triple.
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 23 May 2019 18:08:00 +0000 (18:08 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 23 May 2019 18:08:00 +0000 (18:08 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361521 91177308-0d34-0410-b5e6-96231b3b80d8

utils/UpdateTestChecks/asm.py

index ccc68d0..459aa42 100644 (file)
@@ -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():