llvm-project
19860ce3 - [Win][X86]Fix issue where _fltused reference is incorrectly issued for vector floating point operations (#146792)

Commit
185 days ago
[Win][X86]Fix issue where _fltused reference is incorrectly issued for vector floating point operations (#146792) Fixes #146428 _fltused reference generated for vector floating point operations Currently references to _fltused are incorrectly emitted due to the presence of vector floating point operations. This causes spurious references to _fltused in vector floating point system code where the CRT is not used. This issue is limited to the X86 MSVC environment. As described in the bug: * _fltused should only be emitted for floating point operations as the reference is used to initialize some parts of FP CRT support. * Vector floating point operations on their own don't require that CRT support. Have confirmed intended behavior with MSVC team. Fix alters usesMSVCFloatingPoint() to look for floating point instructions/operands rather than floating point or vector floating point.
Author
Parents
Loading