[PATCH] D58079: [GlobalISel][NFC] Gardening: Make translateSimpleUnaryIntrinsic general
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 11 15:12:57 PST 2019
paquette created this revision.
paquette added reviewers: arsenm, dsanders, aemerson.
Herald added subscribers: Petar.Avramovic, volkan, kristof.beyls, rovka, wdng.
Instead of only having this code work for unary intrinsics, have it work for an arbitrary number of parameters.
Factor out the cases that fall under this (fma, pow).
This makes it a bit easier to add more intrinsics which don't require any special work.
https://reviews.llvm.org/D58079
Files:
include/llvm/CodeGen/GlobalISel/IRTranslator.h
lib/CodeGen/GlobalISel/IRTranslator.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58079.186347.patch
Type: text/x-patch
Size: 5191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190211/d11b2720/attachment.bin>
More information about the llvm-commits
mailing list