[PATCH] D74733: AMDGPU/GlobalISel: Refine G_TRUNC legality rules
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 17 10:40:04 PST 2020
arsenm created this revision.
arsenm added reviewers: nhaehnle, kerbowa, foad.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
arsenm added a parent revision: D74714: GlobalISel: Implement fewerElementsVector for G_TRUNC.
Scalarize most truncates. Avoid touching cases that could end up in
unresolvable infinite loops.
https://reviews.llvm.org/D74733
Files:
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-trunc.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74733.245010.patch
Type: text/x-patch
Size: 17108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200217/01fd636a/attachment.bin>
More information about the llvm-commits
mailing list