[all-commits] [llvm/llvm-project] ab84a9: [TableGen] Remove TypeSetByHwMode::isDefaultOnly()...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Apr 9 10:56:25 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ab84a93287db9533d6c023a26ebb1429db03b74d
https://github.com/llvm/llvm-project/commit/ab84a93287db9533d6c023a26ebb1429db03b74d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-04-09 (Sun, 09 Apr 2023)
Changed paths:
M llvm/utils/TableGen/CodeGenDAGPatterns.cpp
M llvm/utils/TableGen/CodeGenDAGPatterns.h
M llvm/utils/TableGen/InfoByHwMode.h
Log Message:
-----------
[TableGen] Remove TypeSetByHwMode::isDefaultOnly(). Use InfoByHwMode<T>::isSimple(). NFC
InfoByHwMode is the base class of TypeSetByHwMode. The two methods
did the same thing. No reason to have two ways to do it.
Also use the getSimple() access instead of Map.begin()->second.
More information about the All-commits
mailing list