summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/uninitialized-out-parameters.slang
Commit message (Collapse)AuthorAge
* Fix potential test failures due to SPIRV validation failure (#6047)Jay Kwak2025-01-10
| | | | | | | | | | | There are a few tests that are currently passing but could fail when conditions change little bit. When slang-test runs with `test-server`, the spirv validation fails and the test gets reported as failed even though they are actually passing. To avoid the potential problem, this commit adds an empty entry point. Co-authored-by: Yong He <yonghe@outlook.com>
* Warnings target switch intrinsic asm (#4727)venkataram-nv2024-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Proper warning generation for target switches and intrinsic asm * Relaxing terminators * Fix compiler warnings * Rectified target switch reachability check * Simplify target switch reachability check * Refactoring variable names * Using getBlocks * Moving ad hoc special case to diagnostics source * Using the LINE directive for testing * Simplifying reliance on target switches * Skipping IR generation for empty target switches --------- Co-authored-by: Yong He <yonghe@outlook.com>
* Warnings function parameters (#4626)venkataram-nv2024-07-16
* Handle out/inout functions with separate consideration * Fixing bug with passing aliasable instructions * Handle autodiff functions (fwd and rev) in warning system * Handling interface methods * Handling ref parameters like out/inout * Temporary fix to remaining bugs * Refactoring methods and tests * Recursive check for empty structs * Using default initializable interface in tests * Resolving CI fail