[llvm] Add 3 way compare <=> integer intrinsics to Langref (PR #83227)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 08:28:40 PDT 2024
Miguel Raz =?utf-8?q?Guzmán?= Macedo,
Miguel Raz =?utf-8?q?Guzmán?= Macedo,
Miguel Raz =?utf-8?q?Guzmán?= Macedo,
Miguel Raz =?utf-8?q?Guzmán?= Macedo,miguelraz
<miguelraz at ciencias.unam.mx>,miguelraz <miguelraz at ciencias.unam.mx>,miguelraz
<miguelraz at ciencias.unam.mx>,miguelraz <miguelraz at ciencias.unam.mx>,miguelraz
<miguelraz at ciencias.unam.mx>,miguelraz <miguelraz at ciencias.unam.mx>,
Miguel Raz =?utf-8?q?Guzmán?= Macedo,
Miguel Raz =?utf-8?q?Guzmán?= Macedo
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/83227 at github.com>
================
@@ -0,0 +1,22 @@
+; RUN: not opt -S -passes=verify 2>&1 < %s | FileCheck %s
+
+
+define @matching_vector_lens(<4 x i32> %arg1, <4 x i32> %arg2) {
+ ; CHECK-LABEL: cmp_vector_lens_match
+ ; CHECK: return type and first arg type must have the same number of elements
+ %res = call <8 x i32> @llvm.scmp.v8i32.v4i32(<4 x i32> %arg1, <4 x i32> %arg2)
----------------
nikic wrote:
Use four spaces instead of tabs for indentation.
https://github.com/llvm/llvm-project/pull/83227
More information about the llvm-commits
mailing list