[llvm] Update amdgpu_gfx functions to use s0-s3 for inreg SGPR arguments on targets using scratch instructions for stack (PR #78553)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 09:18:15 PST 2024


arsenm wrote:

> Do I have to include any additional builds (like _openmp_) in the llvm build to generate those tests, as they are currently only in the _llvm/_ directory and hence isn't invoked by _update_llc_test_checks_ due to this?

No

> 
> ```shell
> > llvm/utils/update_llc_test_checks.py llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll -u
> 
> WARNING: Skipping test which wasn't autogenerated by utils/update_llc_test_checks.py: llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll
> ```

Some are updated by update_mir_test_checks, some update_test_checks, and some are hand written. Some have checks for multiple types of checks (which the update scripts don't gracefully handle). I'd expect update_llc_test_checks to handle the majority of them 

https://github.com/llvm/llvm-project/pull/78553


More information about the llvm-commits mailing list