[all-commits] [llvm/llvm-project] d694dd: Add iterator range variants of isGuaranteedToTrans...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Oct 8 09:50:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d694dd0f0d4517e838bcb0aa15e1f56f7df8187e
      https://github.com/llvm/llvm-project/commit/d694dd0f0d4517e838bcb0aa15e1f56f7df8187e
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-10-08 (Fri, 08 Oct 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp

  Log Message:
  -----------
  Add iterator range variants of isGuaranteedToTransferExecutionToSuccessor [mostly-nfc]

This factors out utilities for scanning a bounded block of instructions since we have this code repeated in a bunch of places.  The change to InlineFunction isn't strictly NFC as the limit mechanism there didn't handle debug instructions correctly.




More information about the All-commits mailing list