diff options
author | James Molloy <jmolloy@google.com> | 2019-08-31 10:46:16 +0000 |
---|---|---|
committer | James Molloy <jmolloy@google.com> | 2019-08-31 10:46:16 +0000 |
commit | e62c509cd4c0701ab3b951269cef7da2ca803780 (patch) | |
tree | bcbc1dd7943cfbe97520633e25e375e8f0e3130d /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp | |
parent | ac5821395bb8f019032ddf9f2eb4746ceedaf1c3 (diff) | |
download | bcm5719-llvm-e62c509cd4c0701ab3b951269cef7da2ca803780.tar.gz bcm5719-llvm-e62c509cd4c0701ab3b951269cef7da2ca803780.zip |
[DAGCombiner] Don't create illegal narrow stores
Narrowing stores when the target doesn't support the narrow version
forces the target to expand into a load-modify-store sequence, which
is highly suboptimal. The information narrowing throws away (legality
of the inverse transform) is hard to re-analyze. If the target doesn't
support a store of the narrow type, don't narrow even in pre-legalize
mode.
No test as this is DAGCombiner and depends on target bits.
llvm-svn: 370576
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp')
0 files changed, 0 insertions, 0 deletions