[all-commits] [llvm/llvm-project] 1380b2: [RISCV] Use setcc's original SDLoc when inverting ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Aug 16 15:40:51 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1380b21ceba7b7b19e960da5df68dcd5cba1b091
https://github.com/llvm/llvm-project/commit/1380b21ceba7b7b19e960da5df68dcd5cba1b091
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
Log Message:
-----------
[RISCV] Use setcc's original SDLoc when inverting it in performSUBCombine.
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