r265425 - Add -fno-jump-tables and-fjump-tables flags

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 5 11:00:46 PDT 2016


On Tue, Apr 5, 2016 at 10:50 AM, Nirav Dave via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> Author: niravd
> Date: Tue Apr  5 12:50:43 2016
> New Revision: 265425
>
> URL: http://llvm.org/viewvc/llvm-project?rev=265425&view=rev
> Log:
> Add -fno-jump-tables and-fjump-tables flags
>
> Add no-jump-tables flag to disable use of jump tables when lowering
> switch statements
>
> Reviewers: echristo, hans
>
> Subscribers: llvm-commits
>
> Differential Revision: http://reviews.llvm.org/D18407

[...]

> --- cfe/trunk/include/clang/Frontend/CodeGenOptions.def (original)
> +++ cfe/trunk/include/clang/Frontend/CodeGenOptions.def Tue Apr  5 12:50:43 2016
> @@ -149,6 +149,7 @@ CODEGENOPT(UnitAtATime       , 1, 1) ///
>                                       ///< selection.
>  CODEGENOPT(UnrollLoops       , 1, 0) ///< Control whether loops are unrolled.
>  CODEGENOPT(RerollLoops       , 1, 0) ///< Control whether loops are rerolled.
> +CODEGENOPT(NoUseJumpTables   , 1, 0) ///< Set when -fno-jump-tables is enabled

In the review, I asked for a period at the end of sentence here.

Thanks,
Hans


More information about the cfe-commits mailing list