[PATCH] D124894: Avoid 8 and 16bit switch conditions on x86

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 13:51:47 PDT 2022


MatzeB updated this revision to Diff 427125.
MatzeB retitled this revision from "Prefer 32bit and 64bit switch conditions for x86" to "Avoid 8 and 16bit switch conditions on x86".
MatzeB edited the summary of this revision.
MatzeB added a comment.

Address review comments: Keep more code shared.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124894

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/lib/CodeGen/TargetLoweringBase.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll
  llvm/test/CodeGen/X86/SwitchLowering.ll
  llvm/test/CodeGen/X86/conditional-tailcall.ll
  llvm/test/CodeGen/X86/switch-phi-const.ll
  llvm/test/CodeGen/X86/switch.ll
  llvm/test/CodeGen/X86/tail-dup-multiple-latch-loop.ll
  llvm/test/CodeGen/X86/tail-opts.ll
  llvm/test/Transforms/CodeGenPrepare/X86/widen_switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124894.427125.patch
Type: text/x-patch
Size: 22941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220504/eb27dcd9/attachment.bin>


More information about the llvm-commits mailing list