================
@@ -975,6 +976,28 @@ static void emitNonLazyStubs(MachineModuleInfo *MMI, 
MCStreamer &OutStreamer) {
   }
 }
 
+/// True if this module is being built for windows/msvc, and uses floating
+/// point.  This is used to emit an undefined reference to _fltused.
----------------
rnk wrote:

Please add a FIXME or TODO about computing this from MIR instead of the IR, and 
include some context about how this is used in Windows kernel or driver 
contexts to find and prevent code from modifying non-GPR registers.

https://github.com/llvm/llvm-project/pull/100368
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to