[PATCH] D104904: [OpenMP][AMDGCN] Initial math headers support

Michael Liao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 21 09:12:30 PDT 2021


hliao added a comment.

My local build failed due to regression failures. clang/test/Headers/openmp_device_math_isnan.cpp failed with the following errors on undeclared `fabs`.

1950 /home/michliao/working/llvm/llvm-project/clang/test/Headers/Inputs/include/cstdlib:29:31: error: use of undeclared identifier 'fabs'                                                                                                                                                   
1951 float abs(float __x) { return fabs(__x); }                                                                                                                                                                                                                                             
1952                               ^                                                                                                                                                                                                                                                        
1953 /home/michliao/working/llvm/llvm-project/clang/test/Headers/Inputs/include/cstdlib:30:33: error: use of undeclared identifier 'fabs'                                                                                                                                                   
1954 double abs(double __x) { return fabs(__x); }                                                                                                                                                                                                                                           
1955                                 ^                                                                                                                                                                                                                                                      
1956 2 errors generated.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104904/new/

https://reviews.llvm.org/D104904



More information about the cfe-commits mailing list