[all-commits] [llvm/llvm-project] 3b4224: [IPO] AAFunctionReachabilityFunction.updateImpl - ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Feb 25 06:43:09 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b422455ddeb424e6c771de822889c3c352bd2ac
      https://github.com/llvm/llvm-project/commit/3b422455ddeb424e6c771de822889c3c352bd2ac
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-25 (Fri, 25 Feb 2022)

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

  Log Message:
  -----------
  [IPO] AAFunctionReachabilityFunction.updateImpl - reduce AAReachability scope. NFCI.

We already have a check for !InstQueries.empty(), so move the for-range over InstQueries inside to avoid the AAReachability uninitialized variable static analysis warnings.




More information about the All-commits mailing list