aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2024-08-06 11:03:36 -0400
committerGitHub <noreply@github.com>2024-08-06 11:03:36 -0400
commit3c3ea7e751bc18cc8598955bcd853d3c34ffee2d (patch)
treee3130bdd2f33fd523d6c153d8fc78a985c59fa69 /llvm/lib/IR/Module.cpp
parentcee594cf36dc6c737df61e5417a98e09d807bd06 (diff)
downloadllvm-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