[all-commits] [llvm/llvm-project] fe301f: [LoopInfo] Fix a typo in compareLoops

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Jan 18 14:54:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe301f474977da0b82548652ef4bbd058542d076
      https://github.com/llvm/llvm-project/commit/fe301f474977da0b82548652ef4bbd058542d076
  Author: Kazu Hirata <kazu at google.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopInfoImpl.h

  Log Message:
  -----------
  [LoopInfo] Fix a typo in compareLoops

The code here is checking to see if two sets are identical.
OtherBlocksSet should point to OtherL->getBlocksSet() instead.

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




More information about the All-commits mailing list