[all-commits] [llvm/llvm-project] 699e22: [ISEL] Move trivial step_vector folds to FoldConst...
sdesmalen-arm via All-commits
all-commits at lists.llvm.org
Mon Jan 24 08:38:18 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 699e22a083f2bae120e68ce7254fcddb4aaf97b3
https://github.com/llvm/llvm-project/commit/699e22a083f2bae120e68ce7254fcddb4aaf97b3
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2022-01-24 (Mon, 24 Jan 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[ISEL] Move trivial step_vector folds to FoldConstantArithmetic.
Given that step_vector is practically a constant, doing this early
helps with DAGCombine folds that happen before type legalization.
There is currently no way to test this happens earlier, although existing
tests for step_vector folds continue protect the folds happening at all.
Reviewed By: david-arm
Differential Revision: https://reviews.llvm.org/D117863
More information about the All-commits
mailing list