NFC. Drop trailing end of line white space in GPU async ops' printer
whenever the list of async deps is empty.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | ||
---|---|---|
1056 | It's not really clear to me why this is a custom directive. Feels like it could quite easily just be in the declarative format. |
mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | ||
---|---|---|
1056 | The parse version of this requires a non-trivial check (looking at the number of results of parsed). |
mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | ||
---|---|---|
1056 | Why though? To emit a nicer error? |
mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | ||
---|---|---|
1056 | Not just for a nicer error, but for functionality AFAIU -- if the async keyword is used, a single result is expected. Can you see parseAsyncDependencies? |
It's not really clear to me why this is a custom directive. Feels like it could quite easily just be in the declarative format.