Displaying 1 result from an estimated 1 matches for "r295736".
2017 Jul 16
2
A bug related with undef value when bootstrap MemorySSA.cpp
...f (i_hasval) {
m = m + 1;
if (a == i) {
c = a + d + e + f;
return;
}
}
c = a + b;
i_hasval = 3;
k++;
} while (k < cnt);
}
void hoo() {
foo(0);
}
------------------------------------------------------
I verified the problem existed from
llvm-r295736 to the head of trunk using 1.c (I didn't try older version)
~/workarea/llvm-r295736/dbuild/bin/clang -O3 -S 1.c -mllvm
-jump-threading-threshold=0 -fno-vectorize
Here is hoo's assembly code, note that there is no store to c(%rip)
inside of it, and it is wrong.
hoo:...