[all-commits] [llvm/llvm-project] 1ef9bf: [InstSimplify] Pass pointer and indices separately...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Jan 14 02:00:24 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ef9bfa0136c443425a668f65a04f46c04b0ecc0
https://github.com/llvm/llvm-project/commit/1ef9bfa0136c443425a668f65a04f46c04b0ecc0
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M llvm/include/llvm/Analysis/InstructionSimplify.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Scalar/NewGVN.cpp
Log Message:
-----------
[InstSimplify] Pass pointer and indices separately to SimplifyGEPInst.
This doesn't require callers to put the pointer operand and the indices
in a container like a vector when calling the function. This is not
really an issue with the existing callers. But when using it from
IRBuilder the inputs are available as separate pointer value and indices
ArrayRef.
Reviewed By: lebedev.ri
Differential Revision: https://reviews.llvm.org/D117038
More information about the All-commits
mailing list