[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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5191 bytes
Desc: not available
More information about the llvm-commits