From: Chris Lattner Date: Wed, 23 Apr 2003 16:24:19 +0000 (+0000) Subject: Add stub to create lowerSwitches pass X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3b1ca40d5d6c8e796db1e218e88dd7e2b77b417e;p=oota-llvm.git Add stub to create lowerSwitches pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5866 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 1ade0f4977f..e3a5e1b87cf 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -224,6 +224,11 @@ extern const PassInfo *LoopPreheadersID; Pass *createLowerAllocationsPass(); Pass *createRaiseAllocationsPass(); +//===----------------------------------------------------------------------===// +// This pass converts SwitchInst instructions into a sequence of chained binary +// branch instructions. +// +Pass *createLowerSwitchPass(); //===----------------------------------------------------------------------===// //