[all-commits] [llvm/llvm-project] 2df4a3: [SCEV] Remove an unnecessary switch (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Mar 3 05:37:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2df4a3b4ac4f77079d09d2873d24fabf91d4d735
      https://github.com/llvm/llvm-project/commit/2df4a3b4ac4f77079d09d2873d24fabf91d4d735
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV] Remove an unnecessary switch (NFC)

Just the scevUnconditionallyPropagatesPoisonFromOperands() check
is sufficient. Also rename the flag to be more in line with the
more general predicate.




More information about the All-commits mailing list