[llvm] 64785ac - [AIX] Update testcase to use aix triple

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 13 20:32:51 PDT 2021


Author: Jinsong Ji
Date: 2021-07-14T03:32:37Z
New Revision: 64785ac12ef8b94fe7281e2cbe2db68d64d55e4c

URL: https://github.com/llvm/llvm-project/commit/64785ac12ef8b94fe7281e2cbe2db68d64d55e4c
DIFF: https://github.com/llvm/llvm-project/commit/64785ac12ef8b94fe7281e2cbe2db68d64d55e4c.diff

LOG: [AIX] Update testcase to use aix triple

We have implemented the basic MCAsmParser now, we can use the triple
directly now.

Added: 
    

Modified: 
    llvm/test/MC/PowerPC/modern-aix-as.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/PowerPC/modern-aix-as.s b/llvm/test/MC/PowerPC/modern-aix-as.s
index b36d2b625a149..5af8be6a1d22c 100644
--- a/llvm/test/MC/PowerPC/modern-aix-as.s
+++ b/llvm/test/MC/PowerPC/modern-aix-as.s
@@ -2,9 +2,8 @@
 # RUN: llvm-mc -triple powerpc64le-unknown-unknown -mattr=+modern-aix-as --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s
 # RUN: llvm-mc -triple powerpc64le-unknown-unknown -mattr=-modern-aix-as --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s
 # RUN: not llvm-mc -triple powerpc64le-unknown-unknown -mattr=+aix --show-encoding %s 2>&1 | FileCheck -check-prefix=CHECK-OLD %s
-##TODO: Replace above with following when implement createXCOFFAsmParser
-# UN: llvm-mc -triple powerpc-aix-ibm-xcoff -mattr=+modern-aix-as --show-encoding %s 2>&1 | FileCheck -check-prefix=CHECK-BE %s
-# UN: not llvm-mc -triple powerpc-aix-ibm-xcoff --show-encoding %s 2>&1 | FileCheck -check-prefix=CHECK-OLD %s
+# RUN: llvm-mc -triple powerpc-aix-ibm-xcoff -mattr=+modern-aix-as --show-encoding %s 2>&1 | FileCheck -check-prefix=CHECK-BE %s
+# RUN: not llvm-mc -triple powerpc-aix-ibm-xcoff --show-encoding %s 2>&1 | FileCheck -check-prefix=CHECK-OLD %s
 
 # CHECK-BE: mtudscr 2                       # encoding: [0x7c,0x43,0x03,0xa6]
 # CHECK-LE: mtudscr 2                       # encoding: [0xa6,0x03,0x43,0x7c]


        


More information about the llvm-commits mailing list