diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-11-25 11:55:57 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-11-25 12:00:41 -0500 |
commit | e85d2e4981b9db98798ce3e15078775eb50be854 (patch) | |
tree | b589aaa2e6ce7acbf959c1d7e4419f912d234635 /llvm/lib/Transforms/Utils/CodeMoverUtils.cpp | |
parent | 15664fe2c48be242b4b38422466246e9592b6670 (diff) | |
download | bcm5719-llvm-e85d2e4981b9db98798ce3e15078775eb50be854.tar.gz bcm5719-llvm-e85d2e4981b9db98798ce3e15078775eb50be854.zip |
[InstCombine] prevent infinite loop from conflicting shuffle mask transforms
The pattern in question is currently not possible because we
aggressively (wrongly) transform mask elements to undef values
if they choose from an undef operand. That, however, would
change if we tighten our semantics for shuffles as discussed
in D70641. Adding this check gives us the flexibility to make
that change with minimal overhead for current definitions.
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeMoverUtils.cpp')
0 files changed, 0 insertions, 0 deletions