[llvm-dev] modification on lnt to recognize new architecture

MARUKAWA KAZUSHI(丸川 一志) via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 11 00:00:16 PST 2019


I have a question regarding to lnt.  We are working on NEC SX-Aurora Vector Engine and
preparing for upstreaming it on https://reviews.llvm.org/D69103 and following reviews.

We are running llvm-test-suite to check our modifications often.  To run this test suite,
we need to specify our architecture to lnt and make program running under lnt to handle
a few special cases.  In order to do so, we have very simple patch like below.

My question is where should I send this patch to make it merge with lnt
(https://github.com/llvm/llvm-lnt)?  I checked lists.llvm.org mailing lists,
but it is not clear to me.  Thanks in advance.

diff --git a/lnt/tests/nt.py b/lnt/tests/nt.py
index 4ce6647..ce37687 100644
--- a/lnt/tests/nt.py
+++ b/lnt/tests/nt.py
@@ -420,6 +420,8 @@ class TestConfiguration(object):
                 llvm_arch = 'Sparc'
             elif arch in ('mips', 'mipsel', 'mips64', 'mips64el'):
                 llvm_arch = 'Mips'
+            elif arch in ('ve'):
+                llvm_arch = 'VE'

         if llvm_arch is not None:
             make_variables['ARCH'] = llvm_arch

-- Kazushi

More information about the llvm-dev mailing list