Chromium Code Reviews| Index: lib/Target/TargetLibraryInfo.cpp | 
| =================================================================== | 
| --- lib/Target/TargetLibraryInfo.cpp (revision 138335) | 
| +++ lib/Target/TargetLibraryInfo.cpp (working copy) | 
| @@ -31,7 +31,7 @@ | 
| if (T.isMacOSX()) { | 
| if (T.isMacOSXVersionLT(10, 5)) | 
| TLI.setUnavailable(LibFunc::memset_pattern16); | 
| - } else if (T.getOS() == Triple::IOS) { | 
| + } else if (T.isOSIOS()) { | 
| if (T.isOSVersionLT(3, 0)) | 
| TLI.setUnavailable(LibFunc::memset_pattern16); | 
| } else { |