]> granicus.if.org Git - llvm/commitdiff
Add stub to create lowerSwitches pass
authorChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2003 16:24:19 +0000 (16:24 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2003 16:24:19 +0000 (16:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5866 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Scalar.h

index 1ade0f4977fe6b0f7887f967fff0237ab261e0fa..e3a5e1b87cfdd60fdad45ac13fde438b35549c14 100644 (file)
@@ -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();
 
 //===----------------------------------------------------------------------===//
 //