[all-commits] [llvm/llvm-project] 0c82e0: [LICM] Use OverflowTracking to preserve NUW/NSW wh...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue May 20 03:19:20 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0c82e06bb6218c186888d3a4186aae6309bb74c4
https://github.com/llvm/llvm-project/commit/0c82e06bb6218c186888d3a4186aae6309bb74c4
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-05-20 (Tue, 20 May 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/test/Transforms/LICM/hoist-binop.ll
Log Message:
-----------
[LICM] Use OverflowTracking to preserve NUW/NSW when reassociating. (#140404)
This enables preserving NSW when both adds have NSW and NUW.
For now, set AllKnownNonNegative/AllKnownNonZero to false when using in
LICM.
https://alive2.llvm.org/ce/z/uu79Xc
Depends on https://github.com/llvm/llvm-project/pull/140403.
PR: https://github.com/llvm/llvm-project/pull/140404
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list