[all-commits] [llvm/llvm-project] 53ce22: Recommit "[RISCV] Use setcc's original SDLoc when ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Aug 16 16:00:19 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 53ce22e42971e2ad1acc561496bdf043d3ab0cfa
https://github.com/llvm/llvm-project/commit/53ce22e42971e2ad1acc561496bdf043d3ab0cfa
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-08-16 (Tue, 16 Aug 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/get-setcc-result-type.ll
M llvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll
Log Message:
-----------
Recommit "[RISCV] Use setcc's original SDLoc when inverting it in performSUBCombine."
This time using N1 instead of N0 since N1 points to the original
setcc. This now affects scheduling as I expected.
Original commit message:
We change seteq<->setne but it doesn't change the semantics
of the setcc. We should keep original debug location. This is
consistent with visitXor in the generic DAGCombiner.
More information about the All-commits
mailing list