[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:44:18 PDT 2020


foad created this revision.
foad added reviewers: arsenm, rampitec.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
foad requested review of this revision.
Herald added a subscriber: wdng.

It's simpler to do this at codegen time than to do ad-hoc constant
folding of machine instructions in SIFoldOperands.


Repository:
  rG LLVM Github Monorepo

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.293187.patch
Type: text/x-patch
Size: 8162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200921/9e49e11c/attachment.bin>


More information about the llvm-commits mailing list