[llvm] [DebugInfo][LoopVectorizer] Avoid dropping !dbg in optimizeForVFAndUF (PR #114243)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 30 14:19:18 PDT 2024
================
@@ -0,0 +1,108 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S < %s -passes=loop-vectorize -force-vector-width=2 | 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"
+
----------------
fhahn wrote:
Could you add a brief comment that this checks the debug location is preserved when the exiting branch from the vector loop gets simplified?
https://github.com/llvm/llvm-project/pull/114243
More information about the llvm-commits
mailing list