[all-commits] [llvm/llvm-project] 2be67e: [TableGen] Avoid creating a ScopeMatcher full of n...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Apr 2 12:05:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2be67e14ba4fb65b07b04b5a74e58e4749fd7dc2
https://github.com/llvm/llvm-project/commit/2be67e14ba4fb65b07b04b5a74e58e4749fd7dc2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-04-02 (Sun, 02 Apr 2023)
Changed paths:
M llvm/utils/TableGen/DAGISelMatcherOpt.cpp
Log Message:
-----------
[TableGen] Avoid creating a ScopeMatcher full of nullptrs.
The call to FactorNodes will catch it and remove it, but it's easy
to catch at creation.
Remove the now unnecessary null checks from a loop in factor nodes.
More information about the All-commits
mailing list