[LLVMdev] SwitchInst handling in backend
Anton Korobeynikov
anton at korobeynikov.info
Mon Feb 27 14:08:40 PST 2012
> I understand this lowering is target independent and there is no additional target dependent handling of switch instructions - right?
Well. Target can select whether it support e.g. indirect branches. If
it does not, then jump tables are not created and everything lowered
to comparison trees (plus some other stuff).
> Only branches and jump tables are left after this lowering?
Yes.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list