[LLVMdev] jump tables

Anton Korobeynikov asl at math.spbu.ru
Tue Aug 14 06:56:34 PDT 2007


Hello, Fernando.

>      1) where, in the LLVM source tree, is the code that creates jump 
> tables?
What do you mean? Switch insts or DAG nodes? The second is created by
switch lowering code. Look into SelectionDAGISel.cpp:visitSwitch()

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-dev mailing list