[cfe-commits] r162769 - in /cfe/trunk/test/CodeGen: exprs.c pr13704.c

Benjamin Kramer benny.kra at gmail.com
Tue Aug 28 11:22:11 PDT 2012


On 28.08.2012, at 20:12, Matt Beaumont-Gay <matthewbg at google.com> wrote:

> On Tue, Aug 28, 2012 at 10:46 AM, Michael Liao <michael.liao at intel.com> 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.

- Ben



More information about the cfe-commits mailing list