[PATCH] D79362: [AMDGPU] Fix FoldImmediate for 16 bit operand

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 16:09:29 PDT 2020


rampitec updated this revision to Diff 261949.
rampitec marked 5 inline comments as done.
rampitec added a comment.

Addressed review comments.
Added processing of hi16 src subreg, it is just an imm shift.


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

https://reviews.llvm.org/D79362

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.h
  llvm/test/CodeGen/AMDGPU/fold_16bit_imm.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79362.261949.patch
Type: text/x-patch
Size: 10193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200504/28b09cba/attachment.bin>


More information about the llvm-commits mailing list