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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 10:23:16 PDT 2025


================
@@ -595,7 +595,7 @@ class VPSingleDefRecipe : public VPRecipeBase, public VPValue {
 class VPIRFlags {
   enum class OperationType : unsigned char {
     Cmp,
-    OverflowingBinOp,
+    WrappingOp,
----------------
fhahn wrote:

If we keep them separate on the IR level, it probably also makes sense to keep them separate here, with a separate TruncOp kind for consistency?

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


More information about the llvm-commits mailing list