[PATCH] D88028: [AMDGPU] More codegen patterns for v2i16/v2f16 build_vector

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 08:56:56 PDT 2020


foad updated this revision to Diff 293190.
foad added a comment.

Add a move to materialize the constant.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88028/new/

https://reviews.llvm.org/D88028

Files:
  llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir
  llvm/test/CodeGen/AMDGPU/fcanonicalize.f16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88028.293190.patch
Type: text/x-patch
Size: 8237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200921/a776d6e5/attachment-0001.bin>


More information about the llvm-commits mailing list