diff options
| author | Jessica Paquette <jpaquette@apple.com> | 2021-03-01 11:58:07 -0800 |
|---|---|---|
| committer | Jessica Paquette <jpaquette@apple.com> | 2021-03-08 13:01:10 -0800 |
| commit | 5c26be214d9fd9bd544aab42f51898b447524edc (patch) | |
| tree | efe69e9c20c6d84b8db4f1e7bf24cbe88a692cd5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | 29482426b58e3c0e81ffe6b69c08067b3adc6461 (diff) | |
| download | llvm-5c26be214d9fd9bd544aab42f51898b447524edc.zip llvm-5c26be214d9fd9bd544aab42f51898b447524edc.tar.gz llvm-5c26be214d9fd9bd544aab42f51898b447524edc.tar.bz2 | |
[AArch64][GlobalISel] Lower G_BUILD_VECTOR -> G_DUP
If we have
```
%vec = G_BUILD_VECTOR %reg, %reg, ..., %reg
```
Then lower it to
```
%vec = G_DUP %reg
```
Also update the selector to handle constant splats on G_DUP.
This will not combine when the splat is all zeros or ones. Tablegen-imported
patterns rely on these being G_BUILD_VECTOR.
Minor code size improvements on CTMark at -Os.
Also adds some utility functions to make it a bit easier to recognize splats,
and an AArch64-specific splat helper.
Differential Revision: https://reviews.llvm.org/D97731
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
