diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-03-28 11:34:21 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-03-28 11:34:21 +0000 |
| commit | 38a0616c1df029aff481eb0224dacb55c317865e (patch) | |
| tree | ee83062e80991b328b8973fc97c6e340ef718b55 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 3ce9af9370d091b7d959902216482f3015e965fc (diff) | |
[DAGCombiner] Fold truncate(build_vector(x,y)) -> build_vector(truncate(x),truncate(y))
If scalar truncates are free, attempt to pre-truncate build_vectors source operands.
Only attempt to do this before legalization as we often end up with truncations/extensions during build_vector lowering.
Differential Revision: https://reviews.llvm.org/D59654
llvm-svn: 357161
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
