[SystemZ][z/OS][libcxx]: fix the mask in stage2_float_loop function
authorNancy Wang <wangn@ca.ibm.com>
Tue, 18 Oct 2022 19:53:03 +0000 (15:53 -0400)
committerMuiez Ahmed <muiez@ibm.com>
Tue, 18 Oct 2022 19:56:18 +0000 (15:56 -0400)
commit8266eefd91dafec10afcd99be0624fb3e2ceb1bb
treed3e137ba75381f91ed82b2bed30aab564bfe2776
parentdf455beedfcd4634450e5782d6bb4986218174e2
[SystemZ][z/OS][libcxx]: fix the mask in stage2_float_loop function

This patch is to fix issue related to __stage2_float_loop function, float point value comparison is not working on EBCDIC mode because the mask is hard-coded and assumes character is ASCII, fix is to use toupper function when do the comparison.

Differential Revision: https://reviews.llvm.org/D118930
libcxx/include/locale