[llvm] [VPlan] Preserve trunc nuw/nsw in VPRecipeWithIRFlags (PR #144700)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 23 03:41:47 PDT 2025
================
@@ -595,7 +595,7 @@ class VPSingleDefRecipe : public VPRecipeBase, public VPValue {
class VPIRFlags {
enum class OperationType : unsigned char {
Cmp,
- OverflowingBinOp,
+ WrappingOp,
----------------
david-arm wrote:
Does it matter if WrapFlagsTy gets extended to cover more cases though? Surely, the trunc op can still use a subset of WrapFlagsTy? In my mind, the only reason for having a new TruncFlagsTy would be if the trunc op had a trunc-only flag. I think it's simpler to reuse the existing WragFlagsTy for now.
https://github.com/llvm/llvm-project/pull/144700
More information about the llvm-commits
mailing list