[all-commits] [llvm/llvm-project] 66875d: [LegalizeTypes] Use SmallDenseMap::count instead o...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sat May 21 00:07:40 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66875dbcc0f86e7318063328367f92b205c187e2
https://github.com/llvm/llvm-project/commit/66875dbcc0f86e7318063328367f92b205c187e2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-05-21 (Sat, 21 May 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Log Message:
-----------
[LegalizeTypes] Use SmallDenseMap::count instead of SmallDenseMap::find. NFC
It's more readable and more efficient.
Commit: 003b95acf2ba3e42a65099e23b9716989699a1f1
https://github.com/llvm/llvm-project/commit/003b95acf2ba3e42a65099e23b9716989699a1f1
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-05-21 (Sat, 21 May 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Log Message:
-----------
[LegalizeTypes] Remove double map lookup in DAGTypeLegalizer::PerformExpensiveChecks. NFC
Remove repeated checks for ResId being 0.
Compare: https://github.com/llvm/llvm-project/compare/f088b99eac74...003b95acf2ba
More information about the All-commits
mailing list