Browse Source

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361521 91177308-0d34-0410-b5e6-96231b3b80d8
Roman Lebedev 6 years ago
parent
commit
0d3ad44af8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      utils/UpdateTestChecks/asm.py

+ 1 - 0
utils/UpdateTestChecks/asm.py

@@ -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():