[all-commits] [llvm/llvm-project] 6a834d: [ConstraintElim] Use collectOffset instead of cust...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Mon Nov 28 08:55:17 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a834d2f2b962619a8ab7a8aa1e79033ddaeb8cf
https://github.com/llvm/llvm-project/commit/6a834d2f2b962619a8ab7a8aa1e79033ddaeb8cf
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-11-28 (Mon, 28 Nov 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/test/Transforms/ConstraintElimination/constants-unsigned-predicates.ll
M llvm/test/Transforms/ConstraintElimination/gep-arithmetic.ll
Log Message:
-----------
[ConstraintElim] Use collectOffset instead of custom GEP idx iteration.
Use collectOffset to collect scaled indices and constant offset for GEP
instead of custom code. This simplifies the logic in decomposeGEP and
allows to handle all cases supported by the generic helper.
More information about the All-commits
mailing list