Skip to content

Commit bd13d58

Browse files
committed
contains
1 parent 132cf3a commit bd13d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/IR/AutoUpgrade.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6089,7 +6089,7 @@ std::string llvm::UpgradeDataLayoutString(StringRef DL, StringRef TT) {
60896089
}
60906090

60916091
// Upgrade the ELF mangling mode.
6092-
if (!DL.starts_with("e-m:"))
6092+
if (!DL.contains("e-m:"))
60936093
Res = "e-m:" + Res;
60946094

60956095
return Res;

0 commit comments

Comments
 (0)