HomePhabricator

[RISCV] Add test case to show incorrect matching to sroiw when the or mask does…

Authored by craig.topper on Nov 6 2020, 10:29 AM.

Description

[RISCV] Add test case to show incorrect matching to sroiw when the or mask does not have 1s in the upper 32 bits.

The matching code for sroiw is truncating the mask to 32 bits before
checking its value. We need to check all 64 bits.

Details

Committed
craig.topperNov 6 2020, 10:58 AM
Parents
rGa585228027a0: Prevent LICM and machineLICM from hoisting convergent operations
Branches
Unknown
Tags
Unknown