summaryrefslogtreecommitdiffstats
path: root/test/Feature
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-04-10 23:18:04 +0000
committerBill Wendling <isanbard@gmail.com>2011-04-10 23:18:04 +0000
commit5d7a5a4f53304869ae5b76771ab67213447b65a5 (patch)
tree7a3b9ece646fc6ee260ab1467a1e693d9128b5a1 /test/Feature
parentc6cf19731504e7f922d1409ac118c59f5ab8e3c2 (diff)
downloadexternal_llvm-5d7a5a4f53304869ae5b76771ab67213447b65a5.zip
external_llvm-5d7a5a4f53304869ae5b76771ab67213447b65a5.tar.gz
external_llvm-5d7a5a4f53304869ae5b76771ab67213447b65a5.tar.bz2
Revert r129235 pending a vetting of the EH rewrite.
--- Reverse-merging r129235 into '.': D test/Feature/bb_attrs.ll U include/llvm/BasicBlock.h U include/llvm/Bitcode/LLVMBitCodes.h U lib/VMCore/AsmWriter.cpp U lib/VMCore/BasicBlock.cpp U lib/AsmParser/LLParser.cpp U lib/AsmParser/LLLexer.cpp U lib/AsmParser/LLToken.h U lib/Bitcode/Reader/BitcodeReader.cpp U lib/Bitcode/Writer/BitcodeWriter.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/bb_attrs.ll29
1 files changed, 0 insertions, 29 deletions
diff --git a/test/Feature/bb_attrs.ll b/test/Feature/bb_attrs.ll
deleted file mode 100644
index af2af31..0000000
--- a/test/Feature/bb_attrs.ll
+++ /dev/null
@@ -1,29 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis > %t1.ll
-; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
-; RUN: diff %t1.ll %t2.ll
-
-; Test for basic block attributes.
-
-define i32 @f1(i32 %a) {
-entry:
- %cmp = icmp slt i32 %a, 37
- br i1 %cmp, label %bb, label %lpad
-
-bb:
- ret i32 37
-
-lpad: landingpad
- ret i32 927
-}
-
-define i32 @f2(i32 %a) {
-; entry : 0
- %1 = icmp slt i32 %a, 37
- br i1 %1, label %2, label %3
-
-; bb : 2
- ret i32 37
-
-landingpad ; bb : 3
- ret i32 927
-}