https://bugs.llvm.org/show_bug.cgi?id=38349
Bug ID: 38349
Summary: Missed bit pattern
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedb...@nondot.org
Reporter: david.bolvan...@gmail.com
CC: llvm-bugs@lists.llvm.org
According to https://blog.regehr.org/archives/1192 this pattern occurs often in
SPEC2006
int foo(int x, int y) {
int k = x & 15;
if(k == 0) {
int p = x & 7;
return p == 0; // true
}
return y;
}
Alive proof: https://rise4fun.com/Alive/OhV
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs