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

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 31 12:14:12 PDT 2024


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

We cannot express constant build vectors in MIR currently and visitFCmp would rely on `computeKnownFPClass`, which is more work.

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


More information about the llvm-commits mailing list