[llvm] [GlobalISel] Add G_ABDS and G_ABDU instructions (PR #118122)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 08:04:02 PST 2024


Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/118122 at github.com>


================
@@ -6,6 +6,14 @@ name:            g_abd_su
 body: |
   bb.0:
 
+    %2:_(p0) = G_IMPLICIT_DEF
+    %3:_(p0) = G_IMPLICIT_DEF
+    %4:_(s1) = G_ABDS %2, %3
----------------
arsenm wrote:

But that does not remove the need to check that the correct error is produced. I also see the case with a pointer type in each operand is not rejected

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


More information about the llvm-commits mailing list