[PATCH] D154575: [X86] Prevent infinite loop in SelectionDAG when lowering negations

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 03:41:33 PDT 2023


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/select-neg.ll:16
+  %.neg = add i32 %0, 1
+  ret i32 %.neg
+}
----------------
Can this not be reduced any further?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154575/new/

https://reviews.llvm.org/D154575



More information about the llvm-commits mailing list