[PATCH] D63560: AMDGPU: Treat undef as an inline immediate

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 08:29:18 PDT 2019


arsenm created this revision.
arsenm added a reviewer: rampitec.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

This should only matter in vectors with an undef component, since a
full undef vector would have been folded out.


https://reviews.llvm.org/D63560

Files:
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  lib/Target/AMDGPU/SIInstrInfo.td
  test/CodeGen/AMDGPU/shrink-add-sub-constant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63560.205607.patch
Type: text/x-patch
Size: 7686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190619/8016fe43/attachment.bin>


More information about the llvm-commits mailing list