[llvm] [GlobalIsel][AArch64] more legal icmps (PR #78239)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 08:31:45 PST 2024


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


================
@@ -863,6 +867,7 @@ AArch64LegalizerInfo::AArch64LegalizerInfo(const AArch64Subtarget &ST)
           },
           0, s8)
       .minScalarOrElt(0, s8) // Worst case, we need at least s8.
+      .moreElementsToNextPow2(1)
----------------
davemgreen wrote:

I see, because they extract a single lane for the tests. It sounds harmless enough to keep then.

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


More information about the llvm-commits mailing list