[llvm] [X86][CostModel] Free a clean narrow zext used as a GEP index (PR #216256)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 05:27:44 PDT 2026


================
@@ -0,0 +1,141 @@
+; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
+; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=size-latency -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
----------------
RKSimon wrote:

always better to use -cost-kind=all

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


More information about the llvm-commits mailing list