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

[RISCV] Add casts to isel patterns that produce more than 1 instruction.

We need explicitly cast to XLenVT to avoid tablegen picking i32.

If the SelectionDAG scheduler is used it can't find a register
class for i32 if i32 isn't a legal type.

Fixes #81192, but I might have missed some patterns.
parent 95b14da6
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