https://github.com/lei137 edited
https://github.com/llvm/llvm-project/pull/142480
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -30,6 +30,7 @@
#endif
+PPC_VECTOR_MMA_TYPE(__dmr1024, VectorDmr1024, 1024)
lei137 wrote:
Since this is a vector type, maybe we can just keep the same naming convention?
```suggestion
PPC_VECTOR_MMA_TYPE(__vector_dmr, VectorDmr, 1024)
```
https://github.c
@@ -0,0 +1,20 @@
+// RUN: not %clang_cc1 -triple powerpc64le-unknown-linux-gnu -target-cpu
future \
lei137 wrote:
nit: better not to have "future" in the test case names as "future" is a
sliding thing?
https://github.com/llvm/llvm-project/pull/142480
@@ -0,0 +1,94 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
lei137 wrote:
I might be missing something, what does `mmaplus` imply here? Since this
tests mma builtins that uses the dmr registers, maybe `builtins-ppc-mma-dmr.c
@@ -0,0 +1,184 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
lei137 wrote:
nit: maybe this tests can be renamed to `dmf-types.c`?
https://github.com/llvm/llvm-project/pull/142480
___
@@ -0,0 +1,184 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
+// RUN: %clang_cc1 -triple powerpc64le-linux-unknown -target-cpu future \
+// RUN: -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple powerpc64le-linux-unknown -target-cp
@@ -0,0 +1,94 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
+// RUN: %clang_cc1 -O3 -triple powerpc64le-unknown-unknown -target-cpu future \
+// RUN: -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -O3 -triple powerpc64-ibm-aix -target-cp
https://github.com/lei137 approved this pull request.
In general this LGTM.
Just a few nits. Please also update your descripton and PR title as it says
you are dding `__dmr` type, but you are actually adding type `__dmr1024`.
Thx!
https://github.com/llvm/llvm-project/pull/142480
__
@@ -2,12 +2,110 @@
// RUN: -target-cpu pwr10 %s -verify
lei137 wrote:
maybe we should move these to a different test file -> ppc-dmr-types.c
https://github.com/llvm/llvm-project/pull/142480
___
lldb-commits mailing
@@ -3455,6 +3455,7 @@ static void encodeTypeForFunctionPointerAuth(const
ASTContext &Ctx,
case BuiltinType::BFloat16:
case BuiltinType::VectorQuad:
case BuiltinType::VectorPair:
+case BuiltinType::VectorDmr1024:
lei137 wrote:
nit: Maybe we can
https://github.com/lei137 edited
https://github.com/llvm/llvm-project/pull/142480
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
11 matches
Mail list logo