Skip to content
Success

Changes

Summary

  1. Replace shifts and rotations of constant 0 with constant 0 (commit: bd8fbc9) (details)
Commit bd8fbc949cac07addad3169e12bda80df0e40744 by Dylan Tuttle
Replace shifts and rotations of constant 0 with constant 0

Since applying a shift or rotation to 0 simply produces 0 again,
the optimizer can replace any shift or rotation for which the
first child is a constant 0 with that constant 0

Signed-off-by: Dylan Tuttle <jdylantuttle@gmail.com>
(commit: bd8fbc9)
The file was modified compiler/optimizer/OMRSimplifierHandlers.cpp (diff)
The file was modified compiler/optimizer/VPHandlers.cpp (diff)