[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
- Previous message: [llvm] [X86] Fold `(icmp ult (add x,-C),2)` -> `(or (icmp eq X,C), (icmp eq X,C+1))` for Vectors (PR #84104)
- Next message: [llvm] [X86] Fold `(icmp ult (add x,-C),2)` -> `(or (icmp eq X,C), (icmp eq X,C+1))` for Vectors (PR #84104)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
================
@@ -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
- Previous message: [llvm] [X86] Fold `(icmp ult (add x,-C),2)` -> `(or (icmp eq X,C), (icmp eq X,C+1))` for Vectors (PR #84104)
- Next message: [llvm] [X86] Fold `(icmp ult (add x,-C),2)` -> `(or (icmp eq X,C), (icmp eq X,C+1))` for Vectors (PR #84104)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the llvm-commits
mailing list