Justin Fargnoli

Results issues of Justin Fargnoli

### Where is the problem? https://docs.modular.com/mojo/kernels/layout/tma_async/create_tma_tile/ ### What can we do better? The link to `TensorMapSwizzle`, https://docs.modular.com/mojo/stdlib/gpu/host/_nvidia_cuda/TensorMapSwizzle, redirects to, "Page not found". ### Anything else? Encountered this while reading, "Matrix...

documentation

I believe that I've found an infinite loop introduced by [[NVPTX] Allow using v4i32 for memcpy lowering.](https://github.com/llvm/llvm-project/commit/c16b7e54ac5b). Pinging @Artem-B the author of that commit. The following input causes `llc` to...

backend:NVPTX

Requesting the creation of a new GitHub team within the LLVM organization to subscribe to _issues_ with the https://github.com/llvm/llvm-project/labels/backend%3ANVPTX label. Following up on the steps listed: [[llvm-dev] Subscribing to GitHub...

question
infrastructure
backend:NVPTX

Requesting the creation of a new GitHub team within the LLVM organization to subscribe to _pull requests_ with the https://github.com/llvm/llvm-project/labels/backend%3ANVPTX label.

infrastructure
backend:NVPTX

Lowering `v2i8` as a return type is causing a compiler crash. Reproducer on compiler explorer: https://godbolt.org/z/znxzW9Eqj _Originally posted by @Artem-B in https://github.com/llvm/llvm-project/pull/104524#discussion_r1722353170_

crash
backend:NVPTX

We partially vectorize `` but not `8 x i8`, That's something we should eventually fix. _Originally posted by @Artem-B in https://github.com/llvm/llvm-project/pull/104524#discussion_r1722344051_

backend:NVPTX

``` define void @foo() { ... store ... i32 %0 ret void } ``` --> ``` define i32 @foo() { ... ret i32 %0 } ```

enhancement
llvm-reduce

NVPTX currently does not override `TLI.isTruncateFree(EVT, EVT)` and `TLI.isZExtFree()`, and it probably should. `zext`/`truncate` between i32/i64 can probably be considered free, as the values already live in separate 32-bit registers...

good first issue
backend:NVPTX

Some of NVPTX's custom operation lowering and custom DAG combines do not rely on [`NVPTXISD` nodes](https://github.com/llvm/llvm-project/blob/6dceb0e34ed3dd4be72d211abb8c9c447bd57735/llvm/lib/Target/NVPTX/NVPTXISelLowering.h#L22). A majority of these operation lowerings and DAG combines can be ported to live...

good first issue
backend:NVPTX
llvm:SelectionDAG

Currently, we [lower `dynamic_stackalloc` during operation legalization](https://github.com/llvm/llvm-project/blob/e0b522dd94e48229d587a54a3103ba1c198b16a7/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp#L2275-L2304). However, if we are okay with losing the friendlier error message we could decare this operation as legal and handle is during [instruction...

good first issue
backend:NVPTX