aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-12 15:21:57 +0000
committerChris Lattner <sabre@nondot.org>2002-02-12 15:21:57 +0000
commit434c280a915f8749203f3fa21a4567f67ad9db9c (patch)
treec4b80da95222c1d4bc436c060de4f9ad206482a4 /test
parentbe65001fb10c52918199f417ca7dba6f8237b1b4 (diff)
downloadexternal_llvm-434c280a915f8749203f3fa21a4567f67ad9db9c.zip
external_llvm-434c280a915f8749203f3fa21a4567f67ad9db9c.tar.gz
external_llvm-434c280a915f8749203f3fa21a4567f67ad9db9c.tar.bz2
test/Features should not contain whole programs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Feature/Makefile5
-rw-r--r--test/Feature/fib.ll28
2 files changed, 0 insertions, 33 deletions
diff --git a/test/Feature/Makefile b/test/Feature/Makefile
index 349c1e0..ffbad50 100644
--- a/test/Feature/Makefile
+++ b/test/Feature/Makefile
@@ -38,8 +38,3 @@ Output/%.s: Output/%.bc $(LLC)
$(LLC) -f $(LLCFLAGS) $< -o $@ || \
( rm -f $@; $(FAILURE) $@ )
-Output/%: Output/%.s $(LLC)
- @echo "======== Generating SPARC executable for $<"
- $(CC) $(CFLAGS) $< -o $@ || \
- ( rm -f $@; $(FAILURE) $@ )
-
diff --git a/test/Feature/fib.ll b/test/Feature/fib.ll
deleted file mode 100644
index 7ea38cb..0000000
--- a/test/Feature/fib.ll
+++ /dev/null
@@ -1,28 +0,0 @@
-implementation
-
-uint "fib"(uint %n)
-begin
-bb1: ;[#uses=0]
- %cond1000 = setgt uint %n, 1 ; <bool> [#uses=1]
- br bool %cond1000, label %bb3, label %bb2
-
-bb2: ;[#uses=1]
- ret uint 1
-
-bb3: ;[#uses=1]
- %reg112 = sub uint %n, 2 ; <uint> [#uses=1]
- %reg113 = call uint %fib( uint %reg112 ) ; <uint> [#uses=1]
- %reg115 = sub uint %n, 1 ; <uint> [#uses=1]
- %reg116 = call uint %fib( uint %reg115 ) ; <uint> [#uses=1]
- %reg110 = add uint %reg113, %reg116 ; <uint> [#uses=1]
- ret uint %reg110
-end
-
-int "main"(int %argc, sbyte * * %argv)
-begin
-bb1: ;[#uses=0]
- %reg109 = call uint %fib( uint 6 ) ; <uint> [#uses=1]
- %cast1004 = cast uint %reg109 to int ; <int> [#uses=1]
- ret int %cast1004
-end
-