HomePhabricator

[RISCV] Add imm-cse.ll test case

Description

[RISCV] Add imm-cse.ll test case

This test case demonstrates that common subexpression elimination takes place
between code sequences for materialising constants. In particular, it
demonstrates that redundant lui aren't generated. This would capture a
regression if applying a patch such as D41949.

Details

Committed
asbApr 18 2018, 1:25 PM
Parents
rL330290: [NFC] test case clean up
Branches
Unknown
Tags
Unknown