[PATCH] D95681: [GlobalISel] Fix modifying a G_OR without notifying the observer

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 07:21:57 PST 2021


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:5502
+  unsigned Flags = MI.getFlags();
+  MIRBuilder.buildInstr(TargetOpcode::G_OR, {Dst}, {And0, And1}, Flags);
 
----------------
There should be a buildOr


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95681/new/

https://reviews.llvm.org/D95681



More information about the llvm-commits mailing list