Skip to content
Unverified Commit 9d488569 authored by Craig Topper's avatar Craig Topper Committed by GitHub
Browse files

[RISCV][GISel] Remove source constraint from selectCopy and use it fo… (#67207)

…r G_ANYEXT/G_TRUNC.

AArch64, Mips, and ARM do not have source constraints in their version
of selectCopy. I'm assuming we don't need it either.

We weren't constraining the destination register of G_ANYEXT/G_TRUNC
previously, but we got away with it in our tests because all their users
constrained them as a use. When I removed the source constraint from
selectCopy this stopped working.
parent 706b04e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment