diff options
author | Craig Topper <craig.topper@intel.com> | 2019-11-14 10:02:51 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-11-14 10:26:53 -0800 |
commit | 17bb2d7c803db4cc52ebfb95e627b92eeccf302a (patch) | |
tree | 7097bee5a7d5e37a5a61c4edc6b5a8a0363e7592 /lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp | |
parent | 4ee70e00b509fe26bac4196df76dc7c6153f1206 (diff) | |
download | bcm5719-llvm-17bb2d7c803db4cc52ebfb95e627b92eeccf302a.tar.gz bcm5719-llvm-17bb2d7c803db4cc52ebfb95e627b92eeccf302a.zip |
[ExpandReductions] Don't push all intrinsics to the worklist. Just push reductions.
We were previously pushing all intrinsics used in a function to the
worklist. This is wasteful for memory in a function with a lot of
intrinsics.
We also ask TTI if we should expand every intrinsic, but we only
have expansion support for the reduction intrinsics. This just
wastes time for the non-reduction intrinsics.
This patch only pushes reduction intrinsics into the worklist and
skips other intrinsics.
Differential Revision: https://reviews.llvm.org/D69470
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp')
0 files changed, 0 insertions, 0 deletions