commit | 96db5f238ebb4254fca19c8b734d76a0442c0293 | [log] [tgz] |
---|---|---|
author | Jessica Paquette <jpaquette@apple.com> | Tue Feb 12 17:38:34 2019 +0000 |
committer | Jessica Paquette <jpaquette@apple.com> | Tue Feb 12 17:38:34 2019 +0000 |
tree | 8266ef5226ad7d3992dd807abeaa1c4fb631f154 | |
parent | d5af09c2145807ff2c85f81c7c2cf688d5e91a60 [diff] |
[GlobalISel][NFC] Gardening: Make translateSimpleUnaryIntrinsic general 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. Differential Revision: https://reviews.llvm.org/D58079 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353863 91177308-0d34-0410-b5e6-96231b3b80d8