[all-commits] [llvm/llvm-project] ef09ab: [InstCombine] Remove unused function createInstruc...
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sun Jun 11 07:56:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef09abfcf4a0253ea2d7cbd4ecd6535a89c747ab
https://github.com/llvm/llvm-project/commit/ef09abfcf4a0253ea2d7cbd4ecd6535a89c747ab
Author: Kazu Hirata <kazu at google.com>
Date: 2023-06-11 (Sun, 11 Jun 2023)
Changed paths:
M llvm/include/llvm/Transforms/InstCombine/InstCombine.h
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[InstCombine] Remove unused function createInstructionCombiningPass
The last use was removed by:
commit 934c82d31801e65aa3bbe99a0e64f903621c2e04
Author: Florian Hahn <flo at fhahn.com>
Date: Fri Feb 24 13:39:32 2023 +0100
Once I remove createInstructionCombiningPass, then:
InstructionCombiningPass::InstructionCombiningPass(unsigned MaxIterations)
becomes unused. Once I remove that:
InstructionCombiningPass::MaxIterations is always initialized with
InstCombineDefaultMaxIterations, so this patch does the constant
propagation and removes InstructionCombiningPass::MaxIterations as
well.
Differential Revision: https://reviews.llvm.org/D152641
More information about the All-commits
mailing list