[llvm] [LV] Add cost for VPInstruction::Not. (PR #198445)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue May 26 01:02:12 PDT 2026


================
@@ -0,0 +1,318 @@
+; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --filter "Cost of" --filter "Selecting VF" --filter-out-after "Selecting VF" --version 6
+; REQUIRES: asserts
+; RUN: opt -passes=loop-vectorize -debug-only=loop-vectorize -disable-output < %s 2>&1 | FileCheck %s
+
+target triple = "aarch64-none-elf"
+
+define i32 @multi_user_cmp(ptr readonly %a, i64 noundef %n) {
----------------
fhahn wrote:

`binop-cost.ll` already contains test for `fneg`, may be good to consolidate there if possible, possibly with adjusting the test file name.

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


More information about the llvm-commits mailing list