[llvm] [X86][GlobalISel] Fix referencing nonexistent operand in G_ICMP (PR #86221)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 22 00:31:32 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)
----------------
phoebewang wrote:
Is this patch only to fix the first crash reported in #86203?
https://github.com/llvm/llvm-project/pull/86221
More information about the llvm-commits
mailing list