[llvm] [ConstraintElim] Remove dead code. NFC. (PR #118983)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 07:18:06 PST 2024


================
@@ -52,9 +52,6 @@ bool ConstraintSystem::eliminateUsingFM() {
   for (unsigned R1 = 0; R1 < NumRemainingConstraints; R1++) {
     // FIXME do not use copy
     for (unsigned R2 = R1 + 1; R2 < NumRemainingConstraints; R2++) {
-      if (R1 == R2)
-        continue;
----------------
fhahn wrote:

might be worth adding an assert initially?

https://github.com/llvm/llvm-project/pull/118983


More information about the llvm-commits mailing list