[all-commits] [llvm/llvm-project] 97edd8: [JumpThreading] ProcessBranchOnXOR(): bailout if a...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Mon Jul 27 07:33:48 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 97edd8fdf06170fb5f7c60e7a2324b5e0491e492
      https://github.com/llvm/llvm-project/commit/97edd8fdf06170fb5f7c60e7a2324b5e0491e492
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-27 (Mon, 27 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    A llvm/test/Transforms/JumpThreading/pr46857-callbr.ll

  Log Message:
  -----------
  [JumpThreading] ProcessBranchOnXOR(): bailout if any pred ends in indirect branch (PR46857)

SplitBlockPredecessors() can not split blocks that have such terminators,
and in two other places we already ensure that we don't end up calling
SplitBlockPredecessors() on such blocks. Do so in one more place.

Fixes https://bugs.llvm.org/show_bug.cgi?id=46857

(cherry picked from commit 1da9834557cd4302a5183b8228ce063e69f82602)




More information about the All-commits mailing list