[all-commits] [llvm/llvm-project] a3573f: Fix a bug in 67a3331e (cast instead of dyn_cast)

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Jan 7 08:25:16 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3573f203e1780e2d8739e15a823f5de9c81f505
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2022-01-07 (Fri, 07 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp

  Log Message:
  Fix a bug in 67a3331e (cast instead of dyn_cast)

The original commit was expected to be NFC, but I didn't account for the fact that invokes could be considered allocation functions.  Interestingly, only one builder caught the problem.

More information about the All-commits mailing list