diff options
| author | Nikita Popov <npopov@redhat.com> | 2025-10-13 10:13:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-13 10:13:34 +0200 |
| commit | af4367a6db633f979a3f8c565335d279a9c1d976 (patch) | |
| tree | 99b6c1afeca2f3c4ba563cb8609134580059c24c /llvm/lib/Object/Object.cpp | |
| parent | 89c9f7e34c145bfa33e4235e7c205300eb1c0333 (diff) | |
| download | llvm-af4367a6db633f979a3f8c565335d279a9c1d976.zip llvm-af4367a6db633f979a3f8c565335d279a9c1d976.tar.gz llvm-af4367a6db633f979a3f8c565335d279a9c1d976.tar.bz2 | |
[InstCombine] Skip foldFBinOpOfIntCastsFromSign for vector ops (#162804)
Converting a vector float op into a vector int op may be non-profitable,
especially for targets where the float op for a given type is legal, but
the integer op is not.
We could of course also try to address this via a reverse transform in
the backend, but I don't think it's worth the bother, given that vectors
were never the intended use case for this transform in the first place.
Fixes https://github.com/llvm/llvm-project/issues/162749.
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions
