diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-08-06 11:03:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-06 11:03:36 -0400 |
commit | 3c3ea7e751bc18cc8598955bcd853d3c34ffee2d (patch) | |
tree | e3130bdd2f33fd523d6c153d8fc78a985c59fa69 /llvm/lib/IR/Module.cpp | |
parent | cee594cf36dc6c737df61e5417a98e09d807bd06 (diff) | |
download | llvm-3c3ea7e751bc18cc8598955bcd853d3c34ffee2d.zip llvm-3c3ea7e751bc18cc8598955bcd853d3c34ffee2d.tar.gz llvm-3c3ea7e751bc18cc8598955bcd853d3c34ffee2d.tar.bz2 |
[SLP]Better sorting of cmp instructions by comparing type sizes.
Currently SLP vectorizer compares cmp instructions by the type id of the
compared operands, which may failed in case of different integer types,
for example, which have same type id, but different sizes. Patch adds
comparison by type sizes to fix this.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/102132
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions