[PATCH] D138924: [test-suite][tsvc] Use fabs in s318 and s3113

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 07:09:42 PST 2022


SjoerdMeijer added inline comments.


================
Comment at: MultiSource/Benchmarks/TSVC/types.h:12
+  #define FABS(x) fabs(x)
 #endif
 
----------------
This is not entirely ideal to always use the double precision variant in the else-case, but we only generate float and double variants of the kernels (not integers), so didn't feel like making it more complicated than this.


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

https://reviews.llvm.org/D138924



More information about the llvm-commits mailing list