[llvm] [LV] Support float and pointer conditional scalar assignments (PR #184101)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 06:51:47 PST 2026


================
@@ -13,6 +13,7 @@ define void @extractions() {
 ; NEON-NEXT:  Cost Model: Found an estimated cost of 38 for instruction: %v8bf16 = call bfloat @llvm.experimental.vector.extract.last.active.v8bf16(<8 x bfloat> poison, <8 x i1> poison, bfloat poison)
 ; NEON-NEXT:  Cost Model: Found an estimated cost of 18 for instruction: %v4f32 = call float @llvm.experimental.vector.extract.last.active.v4f32(<4 x float> poison, <4 x i1> poison, float poison)
 ; NEON-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %v2f64 = call double @llvm.experimental.vector.extract.last.active.v2f64(<2 x double> poison, <2 x i1> poison, double poison)
+; NEON-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %v2p0 = call ptr @llvm.experimental.vector.extract.last.active.v2p0(<2 x ptr> poison, <2 x i1> poison, ptr poison)
----------------
MacDue wrote:

These cost model test changes don't seem to belong to this PR (there's no cost model changes).

https://github.com/llvm/llvm-project/pull/184101


More information about the llvm-commits mailing list