On Tue, Aug 28, 2012 at 11:22 AM, Benjamin Kramer <[email protected]> wrote: > > On 28.08.2012, at 20:12, Matt Beaumont-Gay <[email protected]> wrote: > >> On Tue, Aug 28, 2012 at 10:46 AM, Michael Liao <[email protected]> >> wrote: >>> Author: hliao >>> Date: Tue Aug 28 12:46:11 2012 >>> New Revision: 162769 >>> >>> URL: http://llvm.org/viewvc/llvm-project?rev=162769&view=rev >>> Log: >>> Merge test case for PR13704 into exprs.c to reduce test cases >>> >>> >>> Removed: >>> cfe/trunk/test/CodeGen/pr13704.c >>> Modified: >>> cfe/trunk/test/CodeGen/exprs.c >>> >>> Modified: cfe/trunk/test/CodeGen/exprs.c >>> URL: >>> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/exprs.c?rev=162769&r1=162768&r2=162769&view=diff >>> ============================================================================== >>> --- cfe/trunk/test/CodeGen/exprs.c (original) >>> +++ cfe/trunk/test/CodeGen/exprs.c Tue Aug 28 12:46:11 2012 >>> @@ -174,3 +174,13 @@ >>> lbl: >>> ; >>> } >>> + >>> +// PR13704: negative increment in i128 is not preserved. >>> +// CHECK: define void @f17() >>> +void f17() { >>> + extern void extfunc(__int128); >>> + __int128 x = 2; >>> + x--; >>> + extfunc(x); >>> +// CHECK: add nsw i128 %0, -1 >> >> As the buildbots have probably informed you, this fails in -Asserts >> builds. Use a regex to match the first operand. > > Already fixed in r162771.
Thanks! _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
