[llvm] [Triple] Ignore the vendor field for MinGW, wrt LTO/IR compatibility (PR #122801)

Mateusz MikuĊ‚a via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 14 09:31:41 PST 2025


================
@@ -2024,6 +2024,10 @@ bool Triple::isLittleEndian() const {
 }
 
 bool Triple::isCompatibleWith(const Triple &Other) const {
+  // On MinGW, C code is usually built with a "w64" vendor, while Rust
+  // often uses a "pc" vendor.
----------------
mati865 wrote:

Yeah, I wasn't sure if there are any differences other than headers and libraries. We're good then.

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


More information about the llvm-commits mailing list