[PATCH] D50319: AMDGPU: Fold v_lshl_or_b32 with 0 src0

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 5 23:20:40 PDT 2018


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

Appears from expansion of some packed cases.


https://reviews.llvm.org/D50319

Files:
  lib/Target/AMDGPU/SIFoldOperands.cpp
  test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50319.159246.patch
Type: text/x-patch
Size: 3331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180806/955a892f/attachment.bin>


More information about the llvm-commits mailing list