[llvm] [InstCombine] Fold (X / C) < X and (X >> C) < X into X > 0 (PR #85555)

via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 17 16:12:51 PDT 2024


================
@@ -11,6 +11,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "InstCombineInternal.h"
+#include "llvm/ADT/APInt.h"
----------------
goldsteinn wrote:

This shouldn't be needed.

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


More information about the llvm-commits mailing list