Displaying 1 result from an estimated 1 matches for "dv_sn".
Did you mean:
d_sn
2013 Apr 26
0
[LLVMdev] 'LowerDbgDeclare' in Instruction combining affects scope information
Hi All,
For the test snippet below,
int func(int dd, int ds, int *rm)
{
int d_sn = 0;
int dv_sn = 0;
unsigned int d, r;
if (dd < 0) { d_sn = 1; dd = -dd; };
if (ds < 0) { dv_sn = 1; ds = -ds ; };
d = func1( dd, ds, &r);
if (d_sn && dv_sn){ r = -r;}
else if (d_sn) { d = -d; r = -r; }
else if (dv_sn) { d = -d; };
if (rm) { *rm = (signed int)r; }
return...