[all-commits] [llvm/llvm-project] 81a343: [CodeGen] More consistently expand float ops by de...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Jul 29 00:57:37 PDT 2025
Branch: refs/heads/release/21.x
Home: https://github.com/llvm/llvm-project
Commit: 81a3436485f262a2d8ed14b8bbf22dcfb9c6f110
https://github.com/llvm/llvm-project/commit/81a3436485f262a2d8ed14b8bbf22dcfb9c6f110
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-07-29 (Tue, 29 Jul 2025)
Changed paths:
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
A llvm/test/CodeGen/PowerPC/froundeven-legalization.ll
Log Message:
-----------
[CodeGen] More consistently expand float ops by default (#150597)
These float operations were expanded for scalar f32/f64/f128, but not
for f16 and more problematically, not for vectors. A small subset of
them was separately set to expand for vectors.
Change these to always expand by default, and adjust targets to mark
these as legal where necessary instead.
This is a much safer default, and avoids unnecessary legalization
failures because a target failed to manually mark them as expand.
Fixes https://github.com/llvm/llvm-project/issues/110753.
Fixes https://github.com/llvm/llvm-project/issues/121390.
(cherry picked from commit fe0dbe0f2950d95071be7140c7b4680f17a7ac4e)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list