Skip to content
Success

Changes

Summary

  1. Replace shifts and rotations of constant 0 with constant 0 (commit: 7b6f6c2) (details)
Commit 7b6f6c259c59771949126011670e62f064aca565 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: 7b6f6c2)
The file was modified compiler/optimizer/OMRSimplifierHandlers.cpp (diff)
The file was modified compiler/optimizer/VPHandlers.cpp (diff)