diff options
author | Jessica Paquette <jpaquette@apple.com> | 2019-02-06 17:25:54 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2019-02-06 17:25:54 +0000 |
commit | e288c526f1f4b4af400742dcbec2277679db6af8 (patch) | |
tree | b6632f6ba53ae6ac62362b5ef808d71e2331acbf /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp | |
parent | c836e48841f4288da03d58fc931efbb3c162b348 (diff) | |
download | bcm5719-llvm-e288c526f1f4b4af400742dcbec2277679db6af8.tar.gz bcm5719-llvm-e288c526f1f4b4af400742dcbec2277679db6af8.zip |
[GlobalISel][NFC] Gardening: Factor out code for simple unary intrinsics
There was a lot of repeated code wrt unary math intrinsics in
translateKnownIntrinsic. This factors out the repeated MIRBuilder code into
two functions: translateSimpleUnaryIntrinsic and getSimpleUnaryIntrinsicOpcode.
This simplifies adding simple unary intrinsics, since after this, all you have
to do is add the mapping to SimpleUnaryIntrinsicOpcodes.
Differential Revision: https://reviews.llvm.org/D57774
llvm-svn: 353316
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp')
0 files changed, 0 insertions, 0 deletions