[all-commits] [llvm/llvm-project] 1efbef: [MI] Don't use std::function for all_uses/all_defs...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jun 2 00:47:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1efbef4085fbe7098af4bb7013c6295ed3682cdf
      https://github.com/llvm/llvm-project/commit/1efbef4085fbe7098af4bb7013c6295ed3682cdf
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-06-02 (Fri, 02 Jun 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineInstr.h

  Log Message:
  -----------
  [MI] Don't use std::function for all_uses/all_defs iterators (NFC)

This mitigates the compile-time regression from D151424. The use
of std::function is not necessary here, as we're passing in a
static function.




More information about the All-commits mailing list