diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-12-02 13:48:42 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-12-02 13:48:42 +0000 |
commit | b205606d3e52324827d94025df5a8427b3163f0a (patch) | |
tree | 22228d79defd2653c0c9fc85c9032f3d55d2c863 /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py | |
parent | 2daceedf9279621bb4942b0dc583542c260d7d19 (diff) | |
download | bcm5719-llvm-b205606d3e52324827d94025df5a8427b3163f0a.tar.gz bcm5719-llvm-b205606d3e52324827d94025df5a8427b3163f0a.zip |
[SelectionDAG] fold constant with undef vector per element
This makes the SDAG behavior consistent with the way we do this in IR.
It's possible that we were getting the wrong answer before. For example,
'xor undef, undef --> 0' but 'xor undef, C' --> undef.
But the most practical improvement is likely as shown in the tests here -
for FP, we were overconstraining undef lanes to NaN, and that can prevent
vector simplifications/narrowing (see D51553).
llvm-svn: 348090
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py')
0 files changed, 0 insertions, 0 deletions