aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
diff options
context:
space:
mode:
authorRahul Joshi <rjoshi@nvidia.com>2025-07-07 08:01:14 -0700
committerGitHub <noreply@github.com>2025-07-07 08:01:14 -0700
commit5f2e88a1254ee392c24a1963e08d76e771ba7aea (patch)
treed2a62df075801f9ddfcbd0bf177b62a16fcb91b0 /llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
parent17d6aa01ec0c843b636cde0bc7e0903523c144aa (diff)
downloadllvm-5f2e88a1254ee392c24a1963e08d76e771ba7aea.zip
llvm-5f2e88a1254ee392c24a1963e08d76e771ba7aea.tar.gz
llvm-5f2e88a1254ee392c24a1963e08d76e771ba7aea.tar.bz2
[NFC][TableGen] Rename `CodeGenTarget` instruction accessors (#146767)
Rename `getXYZInstructionsByEnumValue()` to just `getXYZInstructions` and drop the `ByEnumValue` in the name.
Diffstat (limited to 'llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp')
-rw-r--r--llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
index 20d6228..c3b406a 100644
--- a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
+++ b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
@@ -4122,8 +4122,7 @@ void CodeGenDAGPatterns::AddPatternToMatch(TreePattern *Pattern,
}
void CodeGenDAGPatterns::InferInstructionFlags() {
- ArrayRef<const CodeGenInstruction *> Instructions =
- Target.getInstructionsByEnumValue();
+ ArrayRef<const CodeGenInstruction *> Instructions = Target.getInstructions();
unsigned Errors = 0;