[PATCH] D90217: [GlobalISel] Fold a chain of two shift instructions with constant operands
Mirko Brkusanin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 27 03:59:58 PDT 2020
mbrkusanin created this revision.
mbrkusanin added reviewers: foad, arsenm.
mbrkusanin added a project: LLVM.
Herald added subscribers: kerbowa, hiraditya, rovka, nhaehnle, jvesely.
mbrkusanin requested review of this revision.
Herald added a subscriber: wdng.
Sequence of same shift instructions with constant operands can be combined into
a single shift instruction.
Repository:
rG LLVM Github Monorepo
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.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90217.300938.patch
Type: text/x-patch
Size: 10175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201027/f96bd746/attachment.bin>
More information about the llvm-commits
mailing list