[all-commits] [llvm/llvm-project] 28f27d: Check users of instrinsics instead of traversing e...

annamthomas via All-commits all-commits at lists.llvm.org
Wed Apr 13 09:29:05 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28f27dd2641739e328ef0bec68a577ff44cbec33
  Author: Anna Thomas <anna at azul.com>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LowerGuardIntrinsic.cpp
    M llvm/lib/Transforms/Scalar/LowerWidenableCondition.cpp

  Log Message:
  Check users of instrinsics instead of traversing entire function.NFC

Updated LowerGuardIntrinsic and LowerWidenableCondition to check for
users of the respective intrinsic, instead of checking for guards and
widenable conditions by traversing the entire function.

This is an NFC. Should save some compile time.

More information about the All-commits mailing list