[PATCH] D122485: [SimplifyCFG] Try to fold switch with single result value and power-of-2 cases to mask+select

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 09:17:54 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG00871e2f4f9f: [SimplifyCFG] Try to fold switch with single result value and power-of-2 cases… (authored by bcl5980).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122485/new/

https://reviews.llvm.org/D122485

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/switch-to-select-two-case.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122485.422890.patch
Type: text/x-patch
Size: 9439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220414/831c961d/attachment.bin>


More information about the llvm-commits mailing list