diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-10-01 13:35:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 13:35:42 -0400 |
commit | b16e69494811c5908c1ab2a8cf56b70b5834698c (patch) | |
tree | e8ae7ca97215ea4e28634eaa16a2f4b15ba77f22 /llvm/unittests/Support/ModRefTest.cpp | |
parent | e7edd53e2de5731e67b2f25dcffd1f804ae55ad5 (diff) | |
download | llvm-b16e69494811c5908c1ab2a8cf56b70b5834698c.zip llvm-b16e69494811c5908c1ab2a8cf56b70b5834698c.tar.gz llvm-b16e69494811c5908c1ab2a8cf56b70b5834698c.tar.bz2 |
[SLP]Try to keep operand of external casts as scalars, if profitable
If the cost of original scalar instruction + cast is better than the
extractelement from the vector cast instruction, better to keep original
scalar instructions, where possible
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/110537
Diffstat (limited to 'llvm/unittests/Support/ModRefTest.cpp')
0 files changed, 0 insertions, 0 deletions