[PATCH] D103334: [GISel] Eliminate redundant bitmasking

Jon Roelofs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 28 12:11:25 PDT 2021


jroelofs created this revision.
jroelofs added reviewers: aemerson, paquette, arsenm.
Herald added subscribers: kerbowa, hiraditya, kristof.beyls, nhaehnle, jvesely.
jroelofs requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This was a GISel vs SDAG regression that showed up at -Os in:
SingleSource/Benchmarks/Adobe-C++/simple_types_constant_folding.test on aarch64

https://llvm.godbolt.org/z/aecjodsjG


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103334

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/opt-overlapping-and.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/shl-ext-reduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103334.348565.patch
Type: text/x-patch
Size: 5894 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210528/ee91595f/attachment.bin>


More information about the llvm-commits mailing list