diff options
| author | Jeff Law <jlaw@ventanamicro.com> | 2025-11-17 10:40:46 -0700 |
|---|---|---|
| committer | Jeff Law <jlaw@ventanamicro.com> | 2025-11-17 10:50:06 -0700 |
| commit | 2e1d74b27283b5c20b0e1611c358dbf4e62db54f (patch) | |
| tree | d7465c98c90a7443f3dfbf52607a60cd0787f1e0 /libjava/classpath/java | |
| parent | 359d48af204f1ff4cf1a7969bbeecbdc0b9ba066 (diff) | |
[PR rtl-optimization/122575] Fix mode on optimized IOR comparison
As Andrew P recognized, we were using the wrong mode when simplifying certain
equality tests like (eq (ior (ne x 0 (y)). Sam took Andrew's suggestion and
verified it fixed the problem he was stumbling over.
So even though I haven't recreated the problem, I'm reasonably confident we've
got the right fix. I've bootstrapped and regression tested on x86.
PR rtl-optimization/122575
gcc/
* simplify-rtx.cc (simplify_context::simplify_relational_operation_1):
Use correct mode for simplified IOR expression inside equality
conditional.
Diffstat (limited to 'libjava/classpath/java')
0 files changed, 0 insertions, 0 deletions
