[llvm] [Cygwin] Cygwin X86ISelDAGToDAG.cpp (PR #76284)

εΎζŒζ’ Xu Chiheng via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 5 11:15:51 PST 2024


xu-chiheng wrote:

> In which case we shouldn't be allowing the other code models to be enabled in the first place for cygwin64 triples, not trying to fixup later on - I'm pretty sure we already do this restriction in other cases.

There should be no restriction, because if a module's code does not call fork(),  the cmodel can be not medium, that's my guess.
MinGW 64 bit default to cmodel small, but can be set to medium. 


https://github.com/llvm/llvm-project/pull/76284


More information about the llvm-commits mailing list