[PATCH] D29014: [SelDag] Implement FREEZE node

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 03:56:17 PST 2017


aqjune created this revision.

- Add FREEZE node to SelDag
- Lower FreezeInst (in IR) to FREEZE node
- Add Legalization for FREEZE node
- Lower FREEZE(x) -> CopyToReg(reg, x) + CopyFromReg(reg)


https://reviews.llvm.org/D29014

Files:
  include/llvm/CodeGen/ISDOpcodes.h
  include/llvm/CodeGen/SelectionDAGISel.h
  lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.h
  lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  lib/CodeGen/TargetLoweringBase.cpp
  test/CodeGen/X86/freeze-legalize.ll
  test/CodeGen/X86/freeze.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29014.85346.patch
Type: text/x-patch
Size: 12140 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170123/060219e2/attachment.bin>


More information about the llvm-commits mailing list