[all-commits] [llvm/llvm-project] def48b: [PredicateInfo][SCCP] Remove assertion (PR46814)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jul 23 10:37:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: def48b0e8886ce219b4a77c6e7115a4a86147e04
      https://github.com/llvm/llvm-project/commit/def48b0e8886ce219b4a77c6e7115a4a86147e04
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/PredicateInfo.cpp
    M llvm/test/Transforms/SCCP/predicateinfo-cond.ll

  Log Message:
  -----------
  [PredicateInfo][SCCP] Remove assertion (PR46814)

As long as RenamedOp is not guaranteed to be accurate, we cannot
assert here and should just return false. This was already done
for the other conditions in this function.

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




More information about the All-commits mailing list