[all-commits] [llvm/llvm-project] 08860f: [Local] Allow creating callbr with duplicate succe...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jul 19 05:34:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08860f525a2363ccd697ebb3ff59769e37b1be21
      https://github.com/llvm/llvm-project/commit/08860f525a2363ccd697ebb3ff59769e37b1be21
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-07-19 (Tue, 19 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/CodeGen/AArch64/callbr-asm-obj-file.ll
    M llvm/test/Transforms/JumpThreading/callbr-edge-split.ll
    M llvm/test/Transforms/JumpThreading/pr46857-callbr.ll
    M llvm/test/Transforms/SimplifyCFG/callbr-destinations.ll
    M llvm/test/Transforms/SimplifyCFG/jump-threading.ll

  Log Message:
  -----------
  [Local] Allow creating callbr with duplicate successors

Since D129288, callbr is allowed to have duplicate successors. This
patch removes a limitation which prevents optimizations from actually
producing such callbrs.

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




More information about the All-commits mailing list