[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:16 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"
+
+define fastcc i32 @foo(i64 %a) {
----------------
fhahn wrote:

```suggestion
define i32 @foo(i64 %a) {
```

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


More information about the llvm-commits mailing list