[llvm] [VPlan] Preserve trunc nuw/nsw in VPRecipeWithIRFlags (PR #144700)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 14 07:20:07 PDT 2025


================
@@ -612,6 +613,13 @@ class VPIRFlags {
     WrapFlagsTy(bool HasNUW, bool HasNSW) : HasNUW(HasNUW), HasNSW(HasNSW) {}
   };
 
+  struct TruncFlagsTy {
----------------
fhahn wrote:

Ah right, in that case it's better to have a separate type I think.

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


More information about the llvm-commits mailing list