Commit 06f03b80 authored by Philip Reames's avatar Philip Reames Committed by Philip Reames
Browse files

[RISCV][InsertVSETVLI] Check for undef register operand directly [nfc]

getVNInfoFromReg is expected to return a nullptr if-and-only-if the
operand is undef.  (This was asserted for.)  Reverse the order of the
checks to simplify an upcoming set of patches.
parent 9e209a4a
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