[all-commits] [llvm/llvm-project] fc9b92: [GVN][NFC] Refactor GVN::AnalyzeLoadAvailability m...
Sergey Kachkov via All-commits
all-commits at lists.llvm.org
Fri Jan 13 01:25:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc9b92e14f8836e7b330f094d4b8af732cc59450
https://github.com/llvm/llvm-project/commit/fc9b92e14f8836e7b330f094d4b8af732cc59450
Author: Sergey Kachkov <sergey.kachkov at syntacore.com>
Date: 2023-01-13 (Fri, 13 Jan 2023)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/GVN.h
M llvm/lib/Transforms/Scalar/GVN.cpp
Log Message:
-----------
[GVN][NFC] Refactor GVN::AnalyzeLoadAvailability method
Simplify AnalyzeLoadAvailability code:
1. Use std::optional for return value
2. Use range-based loop for non-local dependencies
Differential Revision: https://reviews.llvm.org/D141664
More information about the All-commits
mailing list