File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ def SharedVar : SubsetSubject<Var,
143143def GlobalVar : SubsetSubject<Var,
144144                             [{S->hasGlobalStorage()}], "global variables">;
145145
146- 
147146def ExternalGlobalVar : SubsetSubject<Var,
148147                             [{S->hasGlobalStorage() &&
149148                               S->getStorageClass()!=StorageClass::SC_Static &&
Original file line number Diff line number Diff line change @@ -100,11 +100,10 @@ int main() {
100100
101101//  Verify that SYCL kernel caller functions are emitted for each device target.
102102// 
103- //  FIXME: The following set of matches are used to skip over the declaration of
104- //  main(). main() shouldn't be emitted in device code, but that pruning isn't
105- //  performed yet.
106- //  CHECK-DEVICE:      Function Attrs: convergent mustprogress noinline norecurse nounwind optnone
107- //  CHECK-DEVICE-NEXT: define {{[a-z_ ]*}}noundef i32 @main() #0
103+ //  main() shouldn't be emitted in device code. It is not annotated with
104+ //  sycl_kernel_entry_point or sycl_external attributes.
105+ //  Function Attrs: convergent mustprogress noinline norecurse nounwind optnone
106+ //  CHECK-NOT: define {{[a-z_ ]*}}noundef i32 @main() #0
108107
109108//  IR for the SYCL kernel caller function generated for
110109//  single_purpose_kernel_task with single_purpose_kernel_name as the SYCL kernel
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments