[llvm] [Vectorizer] precommit test for miscompilation (PR #120731)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 21 14:34:58 PST 2024


================
@@ -0,0 +1,104 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 3
+; RUN: opt -passes=loop-vectorize -force-vector-width=4 -S %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"
+
+; Function Attrs: nofree norecurse nosync nounwind memory(none)
+define i1 @fn(ptr %nno) local_unnamed_addr #0 {
----------------
fhahn wrote:

```suggestion
define i1 @fn(ptr %nno) #0 {
```

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


More information about the llvm-commits mailing list