[RISCV] Add test cases for missed opportunites to treat a zext nneg as sext. NFC
These tests have a dominating icmp that require an i16 value to be sign extended to do the compare. Because of this, the i16 will be exported from the first basic block sign extended to XLen. We can use this fact to remove the zext nneg in the scond block.
parent
9466c4e6
Please register or sign in to comment