diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-10-13 14:35:02 +0100 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-10-13 14:35:18 +0100 |
| commit | 9c3138bd6d8b3e303f0f711753506b330ffa8df0 (patch) | |
| tree | 6a5076189712eb2beb51cd794b0178dfc6d3bb74 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 2e604d23b42e2b59b8884c7b4c2f27b62cba5fe3 (diff) | |
[InstCombine] visitTrunc - pass through undefs for trunc(shift(trunc/ext(x),c)) patterns
Based on the recent patches D88475 and D88429 where we are losing undef values due to extension/comparisons.
I've added a Constant::mergeUndefsWith method that merges the undef scalar/elements from another Constant into a specific Constant.
Differential Revision: https://reviews.llvm.org/D88687
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
