[llvm] [X86] Fold `(icmp ult (add x,-C),2)` -> `(or (icmp eq X,C), (icmp eq X,C+1))` for Vectors (PR #84104)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 02:08:22 PST 2024


================
@@ -64,6 +64,7 @@
 #include <algorithm>
 #include <bitset>
 #include <cctype>
+#include <llvm-19/llvm/CodeGen/ISDOpcodes.h>
----------------
RKSimon wrote:

Remove this?

Out of interest - what tool keeps adding these ?

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


More information about the llvm-commits mailing list