On Tue, Apr 5, 2016 at 10:50 AM, Nirav Dave via cfe-commits <cfe-commits@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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits