Unverified Commit 784a2cd5 authored by Philip Reames's avatar Philip Reames Committed by GitHub
Browse files

[RISCV] Rewrite RISCVCodeGenPrepare using zext nneg [nfc-ish] (#70739)

This stacks on #70725. Once we have lowering for zext nneg, we can
rewrite all of the existing RISCVCodeGenPrepare login in terms of zext
nneg instead of sext. The change isn't NFC from the perspective of the
individual pass, but should be from the perspective of codegen as a
whole.

As noted in the TODO, one piece can be moved to instcombine, but I'll
leave that to a separate commit.
parent 8a786be3
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