mirror-llvm-project/polly/lib
Florian Hahn ff4c6fe24e
[SCEV] Move NoWrapFlags definition outside SCEV scope, use for SCEVUse. (#190199)
The patch moves out of SCEV's scope so they can be re-used for SCEVUse.
SCEVUse gets an additional getNoWrapFlags helper that returns the union
of the expressions SCEV flags and the use-specific flags.

SCEVExpander has been updated to use this new helper.

In order to avoid other changes, the original names are exposed via
constexpr in SCEV. Not sure if there's a nicer way. One alternative
would be to define the enum in struct, and have SCEV inherit from it.

The patch also clarifies that the SCEVUse flags encode NUW/NSW, and
hides getInt, setInt, etc to avoid potential mis-use.

PR: https://github.com/llvm/llvm-project/pull/190199
2026-04-04 15:03:36 +00:00
..
Analysis [Polly][NFC] Convert ScopBuilder::getPwAff() to isl++ (#190458) 2026-04-04 13:20:15 +00:00
CodeGen [Polly] Print params with stmt tracing (#189362) 2026-04-02 10:51:39 +00:00
Exchange [Polly] Allow changing array dims when importing JScop (#174582) 2026-01-06 13:07:03 +00:00
External [Polly] Update isl to isl-0.27-89-gdc16f8e3 (#188013) 2026-03-23 11:04:21 +00:00
Pass [Polly][ScopInfo] Lazy Scop instantiation (#179535) 2026-02-16 23:28:51 +01:00
Plugin [LLVM][NFC] Move PassPlugin from Passes to separate library 2025-12-22 18:11:34 +01:00
Support [SCEV] Move NoWrapFlags definition outside SCEV scope, use for SCEVUse. (#190199) 2026-04-04 15:03:36 +00:00
Transform [Polly] Forward VFS from PassBuilder for IO sandboxing (#188657) 2026-03-28 23:55:05 +01:00
CMakeLists.txt [CMake][LLVM] Add PCH infrastructure and LLVMSupport PCH (#176420) 2026-02-20 12:07:18 +01:00