[llvm] [GlobalIsel] Visit ICmp (PR #105991)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 10:00:57 PDT 2024


================
@@ -1884,6 +1881,28 @@ def cast_combines: GICombineGroup<[
   buildvector_of_truncate
 ]>;
 
+def visit_icmp : GICombineRule<
----------------
tschuett wrote:

I am open to renaming it, but it has a few optimizations that are hard to put into separate patterns. Furthermore, for some optimizations order matters. We have no good mechanism to control the order of combines. I don't want to see a fleet of combines that wip_match_opcode G_ICMP.

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


More information about the llvm-commits mailing list