[all-commits] [llvm/llvm-project] 2ff149: [GlobalISel] Implement bit-test switch table optim...

AE via All-commits all-commits at lists.llvm.org
Wed Aug 12 11:32:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ff14957e88715dbe760cf94367bd99aff5867db
      https://github.com/llvm/llvm-project/commit/2ff14957e88715dbe760cf94367bd99aff5867db
  Author: Amara Emerson <amara at apple.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
    M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-switch-bittest.ll

  Log Message:
  -----------
  [GlobalISel] Implement bit-test switch table optimization.

This is mostly a straight port from SelectionDAG. We re-use the actual bit-test
analysis part from SwitchLoweringUtils, which was factored out earlier to
support jump-tables.

Differential Revision: https://reviews.llvm.org/D85233




More information about the All-commits mailing list