[Bug tree-optimization/80770] suboptimal code negating a 1-bit _Bool field

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80770 Andrew Pinski changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/80770] suboptimal code negating a 1-bit _Bool field

2023-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80770 --- Comment #3 from Andrew Pinski --- For aarch64 we get this from combine: ``` Trying 8, 10 -> 12: 8: r92:SI=r96:QI#0&0x1 10: r93:SI=r92:SI^0x1 REG_DEAD r92:SI 12: zero_extract(r99:QI#0,0x1,0)=r93:SI REG_DEAD r93:SI Failed