[PATCH] D77795: [GlobalISel] translate freeze to COPY

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 08:07:37 PDT 2020


aqjune added a comment.

The corresponding part in SelectionDAGISel looks like this:

  void SelectionDAGISel::Select_FREEZE(SDNode *N) {
    // TODO: We don't have FREEZE pseudo-instruction in MachineInstr-level now.
    // If FREEZE instruction is added later, the code below must be changed as
    // well.
    CurDAG->SelectNodeTo(N, TargetOpcode::COPY, N->getValueType(0),
                         N->getOperand(0));
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77795





More information about the llvm-commits mailing list