[llvm] [VPlan] Fix miscompile when widening induction with loop-variant step (PR #206010)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 02:24:22 PDT 2026
================
@@ -0,0 +1,131 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -passes=loop-vectorize -S -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
+
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+ at .str.1 = constant [21 x i8] c"counter = %d\0A\00"
----------------
david-arm wrote:
If you can remove the printf call then you can also remove this.
https://github.com/llvm/llvm-project/pull/206010
More information about the llvm-commits
mailing list