diff options
author | MaheshRavishankar <1663364+MaheshRavishankar@users.noreply.github.com> | 2025-01-06 14:57:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 14:57:24 -0800 |
commit | 8cd94e0b6d18b6b454431ba9481c2489b480baf4 (patch) | |
tree | 9f21364fb4b250658f80df38447517cb5b996ed2 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 1a435feffcd85c1e7fe30daf1a3995e95860b300 (diff) | |
download | llvm-8cd94e0b6d18b6b454431ba9481c2489b480baf4.zip llvm-8cd94e0b6d18b6b454431ba9481c2489b480baf4.tar.gz llvm-8cd94e0b6d18b6b454431ba9481c2489b480baf4.tar.bz2 |
[mlir][Affine] Add nsw to lowering of `AffineMulExpr`. (#121535)
Since index operations have no set bitwidth, it is ill-defined to use
signed/unsigned wrapping behavior. The corollary to which is that it is
always safe to add nsw/nuw to lowering of affine ops.
Also add a folder to fold `div(s|u)i (mul (a, v), v) -> a`
Signed-off-by: MaheshRavishankar <mravisha@amd.com>
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions