Skip to content
  • Daniel Dunbar's avatar
    Add CodeGen support for indirect goto. · 88402ce8
    Daniel Dunbar authored
     - Follows emission scheme used by llvm-gcc, i.e. invent an id for
       each label whose address is taken and replace each indirect goto by
       a switch to each possible target.
     - Currently we emit a switch for each indirect goto instead of
       merging them as llvm-gcc does.
    
    llvm-svn: 54318
    88402ce8
Loading