Add tests for (and (add x, c1), (lshr y, c2)).
Signed-off-by: WANG Rui <wangrui@loongson.cn>
Differential D154809
[LoongArch] Add tests for (and (add x, c1), (lshr y, c2)) hev on Jul 9 2023, 7:20 PM. Authored by
Details Add tests for (and (add x, c1), (lshr y, c2)). Signed-off-by: WANG Rui <wangrui@loongson.cn>
Diff Detail
Event TimelineComment Actions The addition seems okay but it may be better to move the case into test/CodeGen/LoongArch/ir-instruction/and.ll where a bunch more and-related optimizations are tested. |