[llvm] [ConstraintElim] Drop invalid rows instead of failing the elimination (PR #76299)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 28 07:40:33 PST 2023
================
@@ -96,27 +98,34 @@ bool ConstraintSystem::eliminateUsingFM() {
IdxUpper++;
}
- if (MulOverflow(UpperV, ((-1) * LowerLast / GCD), M1))
- return false;
+ if (MulOverflow(UpperV, ((-1) * LowerLast / GCD), M1)) {
+ Valid = false;
----------------
fhahn wrote:
Simpler to just clear NR?
https://github.com/llvm/llvm-project/pull/76299
More information about the llvm-commits
mailing list