[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
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-08-16 (Tue, 16 Aug 2022)
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