[all-commits] [llvm/llvm-project] 66ec5d: [ConstraintElim] fix crash with large constants in...
erikdesjardins via All-commits
all-commits at lists.llvm.org
Fri Aug 25 10:20:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66ec5df3a7f33366455d50769e4e878544becea6
https://github.com/llvm/llvm-project/commit/66ec5df3a7f33366455d50769e4e878544becea6
Author: Erik Desjardins <erikdesjardinspublic at gmail.com>
Date: 2023-08-25 (Fri, 25 Aug 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/test/Transforms/ConstraintElimination/large-constant-ints.ll
Log Message:
-----------
[ConstraintElim] fix crash with large constants in mul nsw
Another case of https://github.com/llvm/llvm-project/issues/55085.
The added test would trip an assertion due to calling `getSExtValue()` on a value that doesn't fit in int64_t.
Differential Revision: https://reviews.llvm.org/D158810
More information about the All-commits
mailing list