From: Misha Brukman Date: Tue, 21 Oct 2003 04:13:37 +0000 (+0000) Subject: Only fails on the Sparc, only when run via the JIT. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=648cbd98048a2836cdbd066e3d061d46e860f4ae;p=oota-llvm.git Only fails on the Sparc, only when run via the JIT. And yet, it's a failure in the ``LowerSwitch'' pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9315 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/LowerSwitch/2003-10-20-ConstGetOp.ll b/test/Transforms/LowerSwitch/2003-10-20-ConstGetOp.ll new file mode 100644 index 00000000000..63852a69174 --- /dev/null +++ b/test/Transforms/LowerSwitch/2003-10-20-ConstGetOp.ll @@ -0,0 +1,16 @@ +void %main() { +entry: ; No predecessors! + switch uint 1, label %exit [ + uint 0, label %label.0 + uint 1, label %label.1 + ] + +label.0: ; preds = %endif.1 + br label %exit + +label.1: ; preds = %endif.1 + br label %exit + +exit: + ret void +}