diff options
author | Mel Chen <mel.chen@sifive.com> | 2024-07-25 15:14:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 15:14:39 +0800 |
commit | 6d12b3f67df429bffff6e1953d9f55867d7e2469 (patch) | |
tree | fde5b38e58156a1575a9d0c408823f39b682fd11 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | 693d757b63e5020e0fa78bb71fc16acdad5f8232 (diff) | |
download | llvm-6d12b3f67df429bffff6e1953d9f55867d7e2469.zip llvm-6d12b3f67df429bffff6e1953d9f55867d7e2469.tar.gz llvm-6d12b3f67df429bffff6e1953d9f55867d7e2469.tar.bz2 |
[VP] Refactor VectorBuilder to avoid layering violation. NFC (#99276)
This patch refactors the handling of reduction to eliminate layering
violations.
* Introduced `getReductionIntrinsicID` in LoopUtils.h for mapping
recurrence kinds to llvm.vector.reduce.* intrinsic IDs.
* Updated `VectorBuilder::createSimpleTargetReduction` to accept
llvm.vector.reduce.* intrinsic directly.
* New function `VPIntrinsic::getForIntrinsic` for mapping intrinsic ID
to the same functional VP intrinsic ID.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions