[PATCH] D121196: [X86] Update avx512vbmi2 intrinsic tests to avoid adds

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 8 01:48:17 PST 2022


LuoYuanke created this revision.
Herald added a subscriber: pengfei.
Herald added a project: All.
LuoYuanke requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

As noticed in D119654 <https://reviews.llvm.org/D119654>, by adding the masked intrinsics results together
we can end up with the selects being canonicalized away from the
intrinsic - this isn't what we want to test here so replace with a
insertvalue chain into a aggregate instead to retain all the results.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121196

Files:
  llvm/test/CodeGen/X86/avx512vbmi2-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121196.413735.patch
Type: text/x-patch
Size: 31350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220308/119fc941/attachment.bin>


More information about the llvm-commits mailing list