[PATCH] D101792: Bug 45973 - Inaccurate system requirements
Jennifer Chukwu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 3 15:50:43 PDT 2021
jnyfah created this revision.
jnyfah added a reviewer: xgupta.
jnyfah added a project: LLVM.
jnyfah requested review of this revision.
Herald added a subscriber: llvm-commits.
Update minimum Clang and GCC software requirements for building LLVM
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101792
Files:
llvm/docs/GettingStarted.rst
llvm/test/Examples/BrainF/BrainF.ll
llvm/test/Examples/BrainF/Inputs/HelloWorld.bf
Index: llvm/test/Examples/BrainF/Inputs/HelloWorld.bf
===================================================================
--- llvm/test/Examples/BrainF/Inputs/HelloWorld.bf
+++ /dev/null
@@ -1,23 +0,0 @@
-; RUN: BrainF %s -o - | lli 2>&1 | FileCheck %s
-+++++ +++++ (initialize counter (cell #0) to 10)
-[ (use loop to set the next four cells to 70/100/30/10)
- > +++++ ++ (add 7 to cell #1)
- > +++++ +++++ (add 10 to cell #2 )
- > +++ (add 3 to cell #3)
- > + (add 1 to cell #4)
- <<<< - (decrement counter (cell #0))
-]
-> ++ . (print 'H')
-> + . (print 'e')
-+++++ ++ . (print 'l')
-. (print 'l')
-+++ . (print 'o')
-> ++ . (print ' ')
-<< +++++ +++++ +++++ . (print 'W')
-> . (print 'o')
-+++ . (print 'r')
------ - . (print 'l')
------ --- . (print 'd')
-> + . (print '!')
-> . (print '\n')
-# CHECK: Hello World
\ No newline at end of file
Index: llvm/test/Examples/BrainF/BrainF.ll
===================================================================
--- llvm/test/Examples/BrainF/BrainF.ll
+++ /dev/null
@@ -1,23 +0,0 @@
-RUN: BrainF %s -o - | llvm-dis | FileCheck --check-prefix=CHECK %s
-RUN: BrainF %s -o - | lli 2>&1 | FileCheck --check-prefix=EXEC %s
-
-CHECK-LABEL: define void @brainf() {
-CHECK-NEXT: brainf:
-CHECK-NEXT: %malloccall = tail call i8* @malloc(i32 mul (i32 ptrtoint (i8* getelementptr (i8, i8* null, i32 1) to i32), i32 65536))
-CHECK-NEXT: call void @llvm.memset.p0i8.i32(i8* %malloccall, i8 0, i32 65536, i1 false)
-CHECK-NEXT: %head = getelementptr i8, i8* %malloccall, i32 32768
-CHECK-NEXT: %tape = load i8, i8* %head, align 1
-CHECK: store i8 %tape2, i8* %head, align 1
-CHECK: [[tape2:%.*]] = add i8 [[tape]], 8
-CHECK: br label %brainf3
-CHECK: brainf1: ; preds = %brainf55
-CHECK-NEXT: tail call void @free(i8* %malloccall)
-CHECK-NEXT: ret void
-CHECK: }
-CHECK-LABEL: define i32 @main(i32 %argc, i8** %argv) {
-CHECK-NEXT: main.0:
-CHECK-NEXT: call void @brainf()
-CHECK-NEXT: ret i32 0
-CHECK: }
-
-EXEC: Hello World!
\ No newline at end of file
Index: llvm/docs/GettingStarted.rst
===================================================================
--- llvm/docs/GettingStarted.rst
+++ llvm/docs/GettingStarted.rst
@@ -173,7 +173,7 @@
Package Version Notes
=========================================================== ============ ==========================================
`CMake <http://cmake.org/>`__ >=3.13.4 Makefile/workspace generator
-`GCC <http://gcc.gnu.org/>`_ >=5.1.0 C/C++ compiler\ :sup:`1`
+`GCC <http://gcc.gnu.org/>`_ >=7.4 C/C++ compiler\ :sup:`1`
`python <http://www.python.org/>`_ >=3.6 Automated test suite\ :sup:`2`
`zlib <http://zlib.net>`_ >=1.2.3.4 Compression library\ :sup:`3`
`GNU Make <http://savannah.gnu.org/projects/make>`_ 3.79, 3.79.1 Makefile/build processor\ :sup:`4`
@@ -233,9 +233,9 @@
standards<CodingStandards>`. To enforce this language version, we check the most
popular host toolchains for specific minimum versions in our build systems:
-* Clang 3.5
+* Clang 6.0
* Apple Clang 6.0
-* GCC 5.1
+* GCC 7.4
* Visual Studio 2017
Anything older than these toolchains *may* work, but will require forcing the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101792.342573.patch
Type: text/x-patch
Size: 3868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210503/1f89eab8/attachment.bin>
More information about the llvm-commits
mailing list