[all-commits] [llvm/llvm-project] c15bca: [RISCV] Update PreprocessISelDAG to use RemoveDead...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Jul 5 12:35:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c15bcad2f9c3b8e17007ca4f394fb70a4a037b45
https://github.com/llvm/llvm-project/commit/c15bcad2f9c3b8e17007ca4f394fb70a4a037b45
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-07-05 (Tue, 05 Jul 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
Log Message:
-----------
[RISCV] Update PreprocessISelDAG to use RemoveDeadNodes.
Instead of deleting nodes as we go, delete all dead nodes if a
change is made. This allows adding peepholes that might make
multiple nodes dead.
Commit: a1cd3f49b68022337c356482c8c4ec36221f4d1b
https://github.com/llvm/llvm-project/commit/a1cd3f49b68022337c356482c8c4ec36221f4d1b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-07-05 (Tue, 05 Jul 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
Log Message:
-----------
[RISCV] Use a switch statement in PreprocessISelDAG. NFC
This should make it easier to add more peepholes in the future.
Compare: https://github.com/llvm/llvm-project/compare/3ff319c69047...a1cd3f49b680
More information about the All-commits
mailing list