Commit b1849a2c authored by Craig Topper's avatar Craig Topper
Browse files

[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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment