[GlobalISel] translate freeze to new generic G_FREEZE
authorDominik Montada <dominik.montada@hightec-rt.com>
Thu, 9 Apr 2020 12:33:59 +0000 (14:33 +0200)
committerDominik Montada <dominik.montada@hightec-rt.com>
Wed, 15 Apr 2020 14:47:05 +0000 (16:47 +0200)
commit443c244cff6ac43735654b2d2c74ca06e7bab102
tree18289b3c112ff16402991aecc59e43e780d6d257
parenta73a81dce5bcae4f14004c09ee1844d7572d4f1e
[GlobalISel] translate freeze to new generic G_FREEZE

Summary:
As a follow up to https://reviews.llvm.org/D29014, add translation
support for freeze.

Introduce a new generic instruction G_FREEZE and translate freeze to it.

Reviewers: dsanders, aqjune, arsenm, aditya_nandakumar, t.p.northover, lebedev.ri, paquette, aemerson

Reviewed By: aqjune, arsenm

Subscribers: fhahn, lebedev.ri, wdng, rovka, hiraditya, jfb, volkan, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77795
llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
llvm/include/llvm/Support/TargetOpcodes.def
llvm/include/llvm/Target/GenericOpcodes.td
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir