[all-commits] [llvm/llvm-project] 5cf641: [GlobalISel] Fix modifying a G_OR without notifyin...

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Jan 29 08:34:41 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cf6412a27892a7a48c83e26d79f8c3ae1cfa944
      https://github.com/llvm/llvm-project/commit/5cf6412a27892a7a48c83e26d79f8c3ae1cfa944
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-01-29 (Fri, 29 Jan 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

  Log Message:
  -----------
  [GlobalISel] Fix modifying a G_OR without notifying the observer

Remove the call to setFlags in favour of creating the instruction with
the correct flags in the first place, so we don't have to explicitly
notify the observer.

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




More information about the All-commits mailing list