[all-commits] [llvm/llvm-project] f8cece: [ValueTracking] Fix one s/dyn_cast/dyn_cast_or_null/

elavkje via All-commits all-commits at lists.llvm.org
Wed Jan 13 04:40:58 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8cece18630575dccd62ba6a12f21acf5fd38c26
      https://github.com/llvm/llvm-project/commit/f8cece18630575dccd62ba6a12f21acf5fd38c26
  Author: Markus Lavin <markus.lavin at ericsson.com>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/unittests/Analysis/ValueTrackingTest.cpp

  Log Message:
  -----------
  [ValueTracking] Fix one s/dyn_cast/dyn_cast_or_null/

Handle if Constant::getAggregateElement() returns nullptr in
canCreateUndefOrPoison().

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




More information about the All-commits mailing list