[clang] [llvm] AMDGPU: Mark workitem ID intrinsics with range attribute (PR #136196)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Apr 18 05:46:14 PDT 2025
    
    
  
arsenm wrote:
> So may be we can make the check more permissive for now?
Yes, option 1 is use regex on the return attribute. Option 2 is REQUIRES nvptx registered target. Option 3 is some other way of making sure NVVMIntrRange doesn't run. Something is broken now because it is running at -O0 but it should not be. Option 4 is remove NVVMIntrRange and move the conservative maximum ranges to the intrinsic declarations like this patch did 
https://github.com/llvm/llvm-project/pull/136196
    
    
More information about the llvm-commits
mailing list