[llvm] [VPlan] Preserve IR flags when widening casts (PR #115373)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 23:17:05 PST 2024


================
@@ -0,0 +1,78 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -passes="default<O3>,loop-vectorize" -force-vector-interleave=1 -force-vector-width=4 -S < %s | FileCheck %s
+
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+define dso_local void @uitofp_preserve_nneg(ptr nocapture noundef writeonly %result, i32 noundef %size, float noundef %y, float noundef %delta) {
----------------
Mel-Chen wrote:

nit: Do you really need dso_local, nocapture,  noundef, writeonly in this patch? If not, please clean up.

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


More information about the llvm-commits mailing list