[all-commits] [llvm/llvm-project] 6915c7: [RISCV] Don't use DCI.CombineTo to replace a singl...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Oct 30 10:49:02 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6915c76e103ae8acda09ed315fe5fcf039be1654
https://github.com/llvm/llvm-project/commit/6915c76e103ae8acda09ed315fe5fcf039be1654
Author: Craig Topper <craig.topper at sifive.com>
Date: 2020-10-30 (Fri, 30 Oct 2020)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Don't use DCI.CombineTo to replace a single result. NFCI
Just return the new node, which is the standard practice.
I also noticed what appeared to be an unnecessary attempt at
creating an ANY_EXTEND where the type should already be correct.
I replace with an assert to verify the type.
Differential Revision: https://reviews.llvm.org/D90444
More information about the All-commits
mailing list