[PATCH] D78092: [GlobalISel] add legalization for G_FREEZE
Dominik Montada via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 14 03:09:17 PDT 2020
gargaroff created this revision.
Herald added subscribers: llvm-commits, volkan, hiraditya, rovka.
Herald added a project: LLVM.
gargaroff added reviewers: dsanders, arsenm, aqjune, aditya_nandakumar, t.p.northover, lebedev.ri, paquette, aemerson.
Herald added a subscriber: wdng.
gargaroff updated this revision to Diff 257250.
gargaroff added a comment.
remove misleading comment
gargaroff added a comment.
Our backend doesn't support vectors, so I'm really not too familiar with the legalization of them. I tried to implement vector legalization to the best of my understanding, but if there are any problems with those, I'd be very grateful if you could point me in the right direction.
Copy the legalization rules from SelectionDAG:
-widenScalar using anyext
-narrowScalar using unmerge/extract
-scalarize/fewerElements using unmerge
-moreElements using G_IMPLICIT_DEF and insert
Depends on D77795 <https://reviews.llvm.org/D77795>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78092
Files:
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78092.257250.patch
Type: text/x-patch
Size: 10369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200414/52877fef/attachment.bin>
More information about the llvm-commits
mailing list