[PATCH] D90217: [AMDGPU][GlobalISel] Fold a chain of two shift instructions with constant operands
Mirko Brkusanin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 30 09:14:02 PDT 2020
mbrkusanin updated this revision to Diff 301922.
mbrkusanin added a comment.
- Using RegisterImmPair, removed ShiftChain struct.
- Supported G_SSHLSAT and G_USHLSAT.
- Added .mir tests
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90217/new/
https://reviews.llvm.org/D90217
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/ashr.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shift-imm-chain-illegal-types.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shift-imm-chain-shlsat.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shift-imm-chain.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90217.301922.patch
Type: text/x-patch
Size: 32786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201030/62eaadc6/attachment.bin>
More information about the llvm-commits
mailing list