[llvm] [llvm][SPIRV] Expose fast `popcnt` support for SPIR-V targets (PR #109845)
Vyacheslav Levytskyy via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 14:00:24 PDT 2024
================
@@ -0,0 +1,114 @@
+; RUN: opt -O3 -mtriple=spirv32-- %s -o - | llc -O3 -mtriple=spirv32-- -o - | FileCheck %s
+; RUN: %if spirv-tools %{ opt -O3 -mtriple=spirv32-- %s -o - | llc -O3 -mtriple=spirv32-- -o - -filetype=obj | spirv-val %}
----------------
VyacheslavLevytskyy wrote:
As a nit, it'd be useful to run this as `llc -verify-machineinstrs ...`.
https://github.com/llvm/llvm-project/pull/109845
More information about the llvm-commits
mailing list