diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-05-31 14:30:28 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-05-31 14:30:56 +0100 |
commit | ed0303aa2251e4484a2b4ff7f236c9f7cdfb2092 (patch) | |
tree | 6b79ec466548f44b5955dd252787a2e95d03698c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | b8f5732634feaf7a9ce37d33f97f1fb490efeddd (diff) | |
download | llvm-ed0303aa2251e4484a2b4ff7f236c9f7cdfb2092.zip llvm-ed0303aa2251e4484a2b4ff7f236c9f7cdfb2092.tar.gz llvm-ed0303aa2251e4484a2b4ff7f236c9f7cdfb2092.tar.bz2 |
[X86] LowerTRUNCATE - avoid creating extract_subvector(bitcast(vec)) patterns
We have a generic DAG combine to attempt to fold extract_subvector(bitcast(vec)) -> bitcast(extract_subvector(vec)) but if we create these patterns late in lowering then we often miss them.
Noticed while investigating Issue #55648 which gets caught in an infinite loop trying to split extract_subvector(bitcast(vselect()) patterns - this doesn't fix the issue yet but reduces the regressions from the WIP fix.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions