Displaying 3 results from an estimated 3 matches for "getbooleancont".
2019 Apr 03
2
Inline ASM Question
The code below is triggering some weird behavior that's different from how
gcc treats this inline asm. Clang keeps the original type of "loc" as
"bool", which generates an "i1 true" after inlining. So far so good.
However, during ISEL, the "true" is converted to a signed integer. So when
it's evaluated, the result is this:
.quad
2015 Dec 22
2
Question about TargetLowering::SimplifyDemandedBits with AND
Hi All,
I have faced a problem with TargetLowering::SimplifyDemandedBits with
AND. Here is a example as following:
/* C source code */
struct A
{
unsigned int a;
unsigned char c1, c2;
bool b1 : 1;
bool b2 : 1;
bool b3 : 1;
};
int main ()
{
struct A x[1];
x[0].b1 = false;
int s = 0;
s = x[0].b1 ? 1 : 0; <--- Here is problem.
if (s != 0)
__builtin_abort
2019 Feb 27
3
funnel shift, select, and poison
You are right: select in SDAG has to be poison-blocking as well,
otherwise the current lowering from IR's select to SDAG's select would
be wrong. Which makes the select->or transformation incorrect at SDAG
level as well.
I guess until recently people believed that poison in SDAG wasn't much
of a problem (myself included). I was convinced otherwise with the
test cases that