diff --git a/llvm/test/Examples/BrainF/BrainF.ll b/llvm/test/Examples/BrainF/BrainF.ll --- a/llvm/test/Examples/BrainF/BrainF.ll +++ b/llvm/test/Examples/BrainF/BrainF.ll @@ -1,5 +1,6 @@ -RUN: BrainF %s -o - | llvm-dis | FileCheck --check-prefix=CHECK %s -RUN: BrainF %s -o - | lli 2>&1 | FileCheck --check-prefix=EXEC %s +[ +; RUN: BrainF %s -o - | llvm-dis | FileCheck --check-prefix=CHECK %p/Inputs/HelloWorld.bf +; RUN: BrainF %s -o - | lli 2>&1 | FileCheck --check-prefix=EXEC %p/Inputs/HelloWorld.bf CHECK-LABEL: define void @brainf() { CHECK-NEXT: brainf: @@ -8,7 +9,6 @@ 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) @@ -20,4 +20,6 @@ CHECK-NEXT: ret i32 0 CHECK: } -EXEC: Hello World! \ No newline at end of file +EXEC: Hello World! + +] \ No newline at end of file diff --git a/llvm/test/Examples/BrainF/Inputs/HelloWorld.bf b/llvm/test/Examples/BrainF/Inputs/HelloWorld.bf --- a/llvm/test/Examples/BrainF/Inputs/HelloWorld.bf +++ b/llvm/test/Examples/BrainF/Inputs/HelloWorld.bf @@ -19,5 +19,4 @@ ----- - . (print 'l') ----- --- . (print 'd') > + . (print '!') -> . (print '\n') -# CHECK: Hello World \ No newline at end of file +> . (print '\n') \ No newline at end of file diff --git a/mypatch.patch b/mypatch.patch --- a/mypatch.patch +++ b/mypatch.patch @@ -1,25 +0,0 @@ -diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst -index 838af6da9fa3..99c364c44918 100644 ---- a/llvm/docs/GettingStarted.rst -+++ b/llvm/docs/GettingStarted.rst -@@ -173,7 +173,7 @@ uses the package and provides other details. - Package Version Notes - =========================================================== ============ ========================================== - `CMake `__ >=3.13.4 Makefile/workspace generator --`GCC `_ >=5.1.0 C/C++ compiler\ :sup:`1` -+`GCC `_ >=7.4 C/C++ compiler\ :sup:`1` - `python `_ >=3.6 Automated test suite\ :sup:`2` - `zlib `_ >=1.2.3.4 Compression library\ :sup:`3` - `GNU Make `_ 3.79, 3.79.1 Makefile/build processor\ :sup:`4` -@@ -233,9 +233,9 @@ LLVM is written using the subset of C++ documented in :doc:`coding - standards`. 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