Commit 51446d94 authored by Craig Topper's avatar Craig Topper
Browse files

[RISCV] Only check for scalar VT at depth 0 in hasAllNBitUsers.

VTs on already selected instructions can be arbitrary. Reviewing
the isel table I see i32 used for instructions that are part of
multiple instruction output patterns. Looks like tblgen to just
picks the lowest numbered MVT that is legal for the destination
register class of the instruction.

Seems better to just not check types for already selected nodes.
parent a8763859
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