diff options
author | Dominik Montada <dominik.montada@hightec-rt.com> | 2020-04-14 11:25:05 +0200 |
---|---|---|
committer | Dominik Montada <dominik.montada@hightec-rt.com> | 2020-04-17 16:44:46 +0200 |
commit | 55e3a7c6b21fb21d88896a9548b95384d2bd97dd (patch) | |
tree | c3f0acc0f4742ed52f4abbe635ecabcbabb9e876 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | c245d3e033a58582475c3d749085f47a9ab0dda1 (diff) | |
download | llvm-55e3a7c6b21fb21d88896a9548b95384d2bd97dd.zip llvm-55e3a7c6b21fb21d88896a9548b95384d2bd97dd.tar.gz llvm-55e3a7c6b21fb21d88896a9548b95384d2bd97dd.tar.bz2 |
[GlobalISel][AMDGPU] add legalization for G_FREEZE
Summary:
Copy the legalization rules from SelectionDAG:
-widenScalar using anyext
-narrowScalar using intermediate merges
-scalarize/fewerElements using unmerge
-moreElements using G_IMPLICIT_DEF and insert
Add G_FREEZE legalization actions to AMDGPULegalizerInfo.
Use the same legalization actions as G_IMPLICIT_DEF.
Depends on D77795.
Reviewers: dsanders, arsenm, aqjune, aditya_nandakumar, t.p.northover, lebedev.ri, paquette, aemerson
Reviewed By: arsenm
Subscribers: kzhuravl, yaxunl, dstuttard, tpr, t-tye, jvesely, nhaehnle, kerbowa, wdng, rovka, hiraditya, volkan, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78092
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions