diff options
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2025-08-13 15:44:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-13 17:44:03 -0500 |
commit | bbe3d64b39d80c2d6132fbad6008b2a6e86fd4d5 (patch) | |
tree | c033238a5dc87d80115973fcc69b03f6784241ca /llvm/lib/ObjCopy/wasm/WasmWriter.cpp | |
parent | bcb48aa5b2cfc75967c734a97201e0c91273169d (diff) | |
download | llvm-bbe3d64b39d80c2d6132fbad6008b2a6e86fd4d5.zip llvm-bbe3d64b39d80c2d6132fbad6008b2a6e86fd4d5.tar.gz llvm-bbe3d64b39d80c2d6132fbad6008b2a6e86fd4d5.tar.bz2 |
[mlir][ROCDL] Annotate lane ID functions with noundef, ranges (#151396)
Now that we have general support for setting argument and result
attributes on LLVM intrinsics, extend the definitions of mbcnt.lo and
mbcnt.hi to carry such attributes. With that, update the construction of
the mbcnt.lo/mbcnt.hi calls used to get the lane ID to be `noundef`
(since the lane ID is always defined) and to be annotated with the
correct ranges (so that generic LLVM passes can correctly optimized
based on the fact that there are never more than 32/64 lanes).
(Also, handle a pattern that wasn't using getLaneId() and get rid of a
dead argument)
Diffstat (limited to 'llvm/lib/ObjCopy/wasm/WasmWriter.cpp')
0 files changed, 0 insertions, 0 deletions