[all-commits] [llvm/llvm-project] 6418ba: [CFG] Use comesBefore() (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat May 15 03:17:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6418bab6f8827960b9d161f5c9c2b8f9702c80e0
      https://github.com/llvm/llvm-project/commit/6418bab6f8827960b9d161f5c9c2b8f9702c80e0
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-05-15 (Sat, 15 May 2021)

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

  Log Message:
  -----------
  [CFG] Use comesBefore() (NFC)

Use comesBefore() instead of performing an instruction walk. In
line with the previous implementation, instructions are considered
to reach themselves.




More information about the All-commits mailing list