[all-commits] [llvm/llvm-project] e82b5b: [ConstraintElimination] Add Decomposition struct (...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Nov 14 01:45:32 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e82b5b5bbd1a97c289988a9bf2007511d35eb5cf
https://github.com/llvm/llvm-project/commit/e82b5b5bbd1a97c289988a9bf2007511d35eb5cf
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-11-14 (Mon, 14 Nov 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
Log Message:
-----------
[ConstraintElimination] Add Decomposition struct (NFCI)
Replace the vector of DecompEntry with a struct that stores the
constant offset separately. I think this is cleaner than giving the
first element special handling.
This probably also fixes some potential ubsan errors by more
consistently using addWithOverflow/multiplyWithOverflow.
More information about the All-commits
mailing list