[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 22:38:12 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe1472db58ef5: [GlobalISel] Implement commuting shl (add/or x, c1), c2 -> add/or (shl x, c2)… (authored by aemerson).

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.520592.patch
Type: text/x-patch
Size: 12110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230509/48ebb992/attachment-0001.bin>


More information about the llvm-commits mailing list