[PATCH] D150086: [GlobalISel] Implement commuting shl (add/or x, c1), c2 -> add/or (shl x, c2), c1 << c2
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 8 10:13:34 PDT 2023
aemerson updated this revision to Diff 520430.
aemerson added a comment.
Fix comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150086/new/
https://reviews.llvm.org/D150086
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-commute-shift.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/add_shl.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150086.520430.patch
Type: text/x-patch
Size: 12110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230508/a0d3cbc6/attachment.bin>
More information about the llvm-commits
mailing list