[llvm-dev] Must switch instruction be in multiple lines

Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 28 07:43:31 PST 2019


Hi,

The langref shows the following. It is in multiple llines. Is there a
way to make it in one line. Or the format requires it to be in
multiple lines.

switch i32 %val, label %otherwise [ i32 0, label %onzero
                                    i32 1, label %onone
                                    i32 2, label %ontwo ]

-- 
Regards,
Peng


More information about the llvm-dev mailing list