[Bug tree-optimization/67413] Complex NOP expanded to several operations

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67413 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > It would just work. Except the two casts are not the same in the case of negative as I mentioned in comment #2 :).

[Bug tree-optimization/67413] Complex NOP expanded to several operations

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67413 --- Comment #4 from Andrew Pinski --- As for the other testcase: y_3 = x_2(D) & -4294967296; z_4 = (intD.9) x_2(D); _1 = (long intD.12) z_4; _5 = _1 | y_3; If we could optimize: z_4 = (intD.9) x_2(D); _1 = (long intD.12) z_4; Into:

[Bug tree-optimization/67413] Complex NOP expanded to several operations

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67413 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Blocks|

[Bug tree-optimization/67413] Complex NOP expanded to several operations

2020-01-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67413 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|tree-optimization --- Comment #2 from