[clang] [AIX] recognize vsr in inline asm for AIX (PR #68476)
Chen Zheng via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 7 20:06:58 PDT 2023
================
@@ -2,6 +2,10 @@
// RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -target-feature +vsx \
// RUN: -target-cpu pwr9 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple powerpc64-ibm-aix -target-feature +vsx \
+// RUN: -target-cpu pwr9 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple powerpc-ibm-aix -target-feature +vsx \
+// RUN: -target-cpu pwr9 -emit-llvm %s -o - | FileCheck %s
// This case is to test VSX register support in the clobbers list for inline asm.
void testVSX (void) {
----------------
chenzheng1030 wrote:
Done, test case is updated to compileable by AIX system assembler.
https://github.com/llvm/llvm-project/pull/68476
More information about the cfe-commits
mailing list