[PATCH] D81999: libclc: Fix rounding during type conversion

Jan Vesely via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 2 21:01:48 PST 2021


jvesely accepted this revision.
jvesely added a comment.
This revision is now accepted and ready to land.

it took a while to test both versions. this patch fixes the following conversion tests:

  	 *** 622) convert_floatn_rtp( uintn ) FAILED ** 
  	 *** 627) convert_floatn_rtp( intn ) FAILED ** 
  	 *** 639) convert_floatn_rtz( doublen ) FAILED ** 
  	 *** 649) convert_floatn_rtz( longn ) FAILED ** 
  	 *** 689) convert_doublen_rtz( doublen ) FAILED ** 

The number of failed cases goes down from 42 to 37


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81999



More information about the llvm-commits mailing list