[llvm] 0f279c7 - Revert "patch" it wass my mistake inusing git

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 21:37:11 PST 2021


Author: xgupta
Date: 2021-02-24T11:06:16+05:30
New Revision: 0f279c7a5c34eaae797c325c18614def21eba921

URL: https://github.com/llvm/llvm-project/commit/0f279c7a5c34eaae797c325c18614def21eba921
DIFF: https://github.com/llvm/llvm-project/commit/0f279c7a5c34eaae797c325c18614def21eba921.diff

LOG: Revert "patch" it wass my mistake inusing git

This reverts commit 3f30cd73795d17f071cc03926fea28943c65f05f.

Added: 
    

Modified: 
    

Removed: 
    llvm/test/Examples/BrainF/HelloWorld.ll
    llvm/test/Examples/BrainF/HelloWorld.test


################################################################################
diff  --git a/llvm/test/Examples/BrainF/HelloWorld.ll b/llvm/test/Examples/BrainF/HelloWorld.ll
deleted file mode 100644
index c8eef639593b..000000000000
--- a/llvm/test/Examples/BrainF/HelloWorld.ll
+++ /dev/null
@@ -1,20 +0,0 @@
-; RUN: BrainF %s -o - | llvm-dis | FileCheck %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:             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:       }

diff  --git a/llvm/test/Examples/BrainF/HelloWorld.test b/llvm/test/Examples/BrainF/HelloWorld.test
deleted file mode 100644
index 23483a3653a2..000000000000
--- a/llvm/test/Examples/BrainF/HelloWorld.test
+++ /dev/null
@@ -1,3 +0,0 @@
-; RUN: BrainF %s -o - | lli 2>&1 | FileCheck %s
-++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
-# CHECK: Hello World!


        


More information about the llvm-commits mailing list