[all-commits] [llvm/llvm-project] 462ab9: [ConstraintElim] Fix signed integer overflow for i...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Oct 16 15:25:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 462ab9810dd1774970e44264c35e8aec35e7460a
https://github.com/llvm/llvm-project/commit/462ab9810dd1774970e44264c35e8aec35e7460a
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-10-16 (Sun, 16 Oct 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
Log Message:
-----------
[ConstraintElim] Fix signed integer overflow for inbounds GEP.
For inbounds GEPs, signed overflow yields poison, so it is fine for the
coefficients to wrap as well. This fixes an UBSan failure.
More information about the All-commits
mailing list