================
@@ -540,40 +540,54 @@ StringRef object::getImageKindName(ImageKind Kind) {
 
 bool object::areTargetsEquivalent(const OffloadFile::TargetID &LHS,
                                   const OffloadFile::TargetID &RHS) {
-  llvm::Triple LHSTT(LHS.first);
-  llvm::Triple RHSTT(RHS.first);
+  // Device images that list different real devices are linked separately.
----------------
YuriPlyakhin wrote:

This says more than the check does. Please remove.

https://github.com/llvm/llvm-project/pull/239010
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to