rupprecht added a comment.
FYI, I'm seeing what I think is a miscompile that bisects to this patch.
Greatly simplified, the problematic snippet is this:
struct Stats {
int a;
int b;
int a_or_b;
};
bool x = ...
bool y = ...
Stats stats;
stats.a = x ? 1 : 0;
stats.b = y ? 1 : 0;
stats.a_or_b = (x || y) ? 1 : 0;
What we see is that when x is false and y is true, a is 0 (expected), b is 1
(expected), but a_or_b is 0 (unexpected).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101191/new/
https://reviews.llvm.org/D101191
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits