[PATCH] D109750: [GlobalISel][Legalizer] Don't use eraseFromParentAndMarkDBGValuesForRemoval() for some artifacts.
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 20 16:56:39 PDT 2021
paquette added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/Utils.cpp:1060
+static bool shouldSkipDbgValueFor(MachineInstr &MI) {
+ switch (MI.getOpcode()) {
+ case TargetOpcode::G_UNMERGE_VALUES:
----------------
might as well pull the `return false;` into the default case?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109750/new/
https://reviews.llvm.org/D109750
More information about the llvm-commits
mailing list