[llvm] [X86][GlobalISel] Fix referencing nonexistent operand in G_ICMP (PR #86221)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 03:36:58 PDT 2024


================
@@ -0,0 +1,24 @@
+# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -global-isel-abort=2 -pass-remarks-missed='gisel*' %s -o - 2>%t | FileCheck %s
+# RUN: FileCheck -check-prefix=ILLEGAL %s < %t
+
+# ILLEGAL: remark: <unknown>:0:0: unable to legalize instruction: %2:_(<4 x s1>) = G_ICMP intpred(sle), %0:_(<4 x s64>), %1:_ (in function: test_icmp_v4i64)
----------------
RKSimon wrote:

Please can you add a reference to PR86203?

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


More information about the llvm-commits mailing list