[all-commits] [llvm/llvm-project] c92ff6: [Local] Move OverflowTracking to Local.h, move log...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Mon May 19 13:48:11 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c92ff61cee858d0b28f2c3187baa29dd61eb6d87
https://github.com/llvm/llvm-project/commit/c92ff61cee858d0b28f2c3187baa29dd61eb6d87
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-05-19 (Mon, 19 May 2025)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/Reassociate.h
M llvm/include/llvm/Transforms/Utils/Local.h
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/lib/Transforms/Utils/Local.cpp
Log Message:
-----------
[Local] Move OverflowTracking to Local.h, move logic to helpers (NFC) (#140403)
Move parts of the logic used by Reassociate to OverflowTracking
(mergeFlags & applyFlags) and move the definition to Local.h.
For now it just moves the NUW/NSW handling, as this matches the uses in
LICM. I'll look into the FP math handling separately, as it looks like
there's a difference between Reassociate (takes all flags from I, while
LICM takes the intersection of the flags on both instructions).
PR: https://github.com/llvm/llvm-project/pull/140403
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