[PATCH] D90223: [AMDGPU][GlobalISel] Combine shift + logic + shift with constant operands
Mirko Brkusanin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 27 04:41:41 PDT 2020
mbrkusanin created this revision.
mbrkusanin added reviewers: foad, arsenm.
mbrkusanin added a project: LLVM.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, nhaehnle, jvesely, kzhuravl.
mbrkusanin requested review of this revision.
Herald added a subscriber: wdng.
This sequence of instructions can be simplified if they are single use and
some operands are constants. Additional combines may be applied afterwards.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D90223
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/combine-shift-of-shifted-logic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90223.300945.patch
Type: text/x-patch
Size: 17633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201027/aba4f769/attachment.bin>
More information about the llvm-commits
mailing list