[all-commits] [llvm/llvm-project] 865fe1: [RISCV] Fix a mistake in PostprocessISelDAG
Haocong Lu via All-commits
all-commits at lists.llvm.org
Fri Feb 25 04:38:52 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 865fe131f87c68e27f64a1fe6f6351b6a6952cca
https://github.com/llvm/llvm-project/commit/865fe131f87c68e27f64a1fe6f6351b6a6952cca
Author: Haocong.Lu <Haocong.Lu at streamcomputing.com>
Date: 2022-02-25 (Fri, 25 Feb 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll
Log Message:
-----------
[RISCV] Fix a mistake in PostprocessISelDAG
With the condition N->use_empty(), the root node of DAG always
misses peephole optimization. So a dummy node is needed.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D119934
More information about the All-commits
mailing list