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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 12:21:57 PST 2024


================
@@ -0,0 +1,60 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -passes="loop-vectorize" -force-vector-interleave=1 -force-vector-width=4 -S < %s | FileCheck %s
+
+define dso_local void @uitofp_preserve_nneg(ptr nocapture noundef writeonly %result, i32 noundef %size, float noundef %y) {
----------------
fhahn wrote:

```suggestion
define void @uitofp_preserve_nneg(ptr %result, float %y) {
```

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


More information about the llvm-commits mailing list