[all-commits] [llvm/llvm-project] 9d4885: [RISCV][GISel] Remove source constraint from selec...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Sep 27 15:06:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d488569bbc44ae21a9ae31f77750f7fa6f4d3ad
https://github.com/llvm/llvm-project/commit/9d488569bbc44ae21a9ae31f77750f7fa6f4d3ad
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-09-27 (Wed, 27 Sep 2023)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list