)]}' { "commit": "8b3efeb10303576fa21f18504383089cb1344735", "tree": "fb7811c5542620c380c7e68995dc950494bbcfcc", "parents": [ "af085b4c8a2f0b36712e58b21aab75741c53c2bf" ], "author": { "name": "Eli Friedman", "email": "efriedma@codeaurora.org", "time": "Wed Jan 09 23:39:26 2019 +0000" }, "committer": { "name": "Eli Friedman", "email": "efriedma@codeaurora.org", "time": "Wed Jan 09 23:39:26 2019 +0000" }, "message": "[SimplifyLibCalls] Fix memchr expansion for constant strings.\n\nThe C standard says \"The memchr function locates the first\noccurrence of c (converted to an unsigned char)[...]\". The expansion\nwas missing the conversion to unsigned char.\n\nFixes https://bugs.llvm.org/show_bug.cgi?id\u003d39041 .\n\nDifferential Revision: https://reviews.llvm.org/D55947\n\n\n\ngit-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350775 91177308-0d34-0410-b5e6-96231b3b80d8\n", "tree_diff": [ { "type": "modify", "old_id": "a50575b025601c4ecbf8d14bea8a671b06344b3d", "old_mode": 33188, "old_path": "lib/Transforms/Utils/SimplifyLibCalls.cpp", "new_id": "1bb26caa2af2678cd66a1b56839c51fc248f5a4d", "new_mode": 33188, "new_path": "lib/Transforms/Utils/SimplifyLibCalls.cpp" }, { "type": "modify", "old_id": "5a081c222fb021fe0ace94e0199ef051472768e6", "old_mode": 33188, "old_path": "test/Transforms/InstCombine/memchr.ll", "new_id": "83073e20676e82bfe96402670172f7538a6752ff", "new_mode": 33188, "new_path": "test/Transforms/InstCombine/memchr.ll" }, { "type": "modify", "old_id": "6c10ebdfcc43020b9ab00f99a17300d4b379b0cb", "old_mode": 33188, "old_path": "test/Transforms/InstCombine/strchr-1.ll", "new_id": "4fce378f59f4377fe36af295dd1ebd6f2daf7184", "new_mode": 33188, "new_path": "test/Transforms/InstCombine/strchr-1.ll" } ] }