[all-commits] [llvm/llvm-project] 03a952: [CGExprAgg] Fix infinite loop in `findPeephole`

Ehud Katz via All-commits all-commits at lists.llvm.org
Thu Apr 16 03:28:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 03a9526fe5adae909f1d5fd2736703e69fc46e09
      https://github.com/llvm/llvm-project/commit/03a9526fe5adae909f1d5fd2736703e69fc46e09
  Author: Ehud Katz <ehudkatz at gmail.com>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M clang/lib/CodeGen/CGExprAgg.cpp
    A clang/test/CodeGen/pr45476.cpp

  Log Message:
  -----------
  [CGExprAgg] Fix infinite loop in `findPeephole`

Simplify the function using IgnoreParenNoopCasts.

Fix PR45476

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




More information about the All-commits mailing list