[all-commits] [llvm/llvm-project] ddf2f9: [EarlyIfConversion] Add target hook to allow for m...
Hendrik Greving via All-commits
all-commits at lists.llvm.org
Wed Dec 14 13:37:53 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ddf2f90a48b638fcd7cd1dbeeffec14390fb47b8
https://github.com/llvm/llvm-project/commit/ddf2f90a48b638fcd7cd1dbeeffec14390fb47b8
Author: Hendrik Greving <hgreving at google.com>
Date: 2022-12-14 (Wed, 14 Dec 2022)
Changed paths:
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/lib/CodeGen/EarlyIfConversion.cpp
Log Message:
-----------
[EarlyIfConversion] Add target hook to allow for multiple ifcvt iterations.
Adds a target hook canPredicatePredicatedInstr(const MachineInstr&) that
assumes an instruction is already predicated and returns true if it can
be predicated again, used by the early if-conversion pass in order to
iterate multiple times on architectures supporting predicate logic.
No test added since there is no upstream target that can take advantage.
Differential Revision: https://reviews.llvm.org/D139981
More information about the All-commits
mailing list