summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2019-02-06 17:25:54 +0000
committerJessica Paquette <jpaquette@apple.com>2019-02-06 17:25:54 +0000
commite288c526f1f4b4af400742dcbec2277679db6af8 (patch)
treeb6632f6ba53ae6ac62362b5ef808d71e2331acbf /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp
parentc836e48841f4288da03d58fc931efbb3c162b348 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud