[llvm] [LV] Optimize VPWidenIntOrFpInductionRecipe for known TC (PR #118828)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 07:03:44 PST 2024


================
@@ -0,0 +1,898 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -p loop-vectorize -prefer-predicate-over-epilogue=predicate-dont-vectorize -S %s | FileCheck %s
+
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32"
+target triple = "aarch64-unknown-linux-gnu"
+
+define dso_local void @canonical_small_tc_i8(ptr nocapture noundef writeonly %p) {
----------------
fhahn wrote:

```suggestion
define void @canonical_small_tc_i8(ptr nocapture noundef writeonly %p) {
```

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


More information about the llvm-commits mailing list