[all-commits] [llvm/llvm-project] 2c768c: [EarlyCSE] Small refactoring changes, NFC
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Mon Sep 21 14:11:50 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2c768c7d6c6185e2c9a606027ee673bd2640e5ca
https://github.com/llvm/llvm-project/commit/2c768c7d6c6185e2c9a606027ee673bd2640e5ca
Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
Date: 2020-09-21 (Mon, 21 Sep 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/EarlyCSE.cpp
Log Message:
-----------
[EarlyCSE] Small refactoring changes, NFC
1. Store intrinsic ID in ParseMemoryInst instead of a boolean flag
"IsTargetMemInst". This will make it easier to add support for
target-independent intrinsics.
2. Extract the complex multiline conditions from EarlyCSE::processNode
into a new function "getMatchingValue".
Differential Revision: https://reviews.llvm.org/D87691
More information about the All-commits
mailing list