[llvm] [x86] Add lowering for `@llvm.experimental.vector.compress` (PR #104904)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 09:53:56 PDT 2024


================
@@ -2321,6 +2321,29 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
     }
   }
 
+  // vpcompress depends on various AVX512 extensions.
+  if (Subtarget.hasAVX512()) {
----------------
RKSimon wrote:

Move these into the `if (!Subtarget.useSoftFloat() && Subtarget.hasAVX512())` block earlier

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


More information about the llvm-commits mailing list