[all-commits] [llvm/llvm-project] 48cd5b: Revert "[SLC] sprintf(dst, "%s", str) -> strcpy(ds...
aeubanks via All-commits
all-commits at lists.llvm.org
Thu Aug 13 21:06:43 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 48cd5b72b13c1283eedb0f3fac7c14167da7fc2f
https://github.com/llvm/llvm-project/commit/48cd5b72b13c1283eedb0f3fac7c14167da7fc2f
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2020-08-13 (Thu, 13 Aug 2020)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll
M llvm/test/Transforms/InstCombine/sprintf-1.ll
Log Message:
-----------
Revert "[SLC] sprintf(dst, "%s", str) -> strcpy(dst, str)"
This reverts commit ab9fc8bae805c785066779e76e7846aabad5609e.
Incorrect transformation if the result is used.
Causes breakages, e.g.
http://green.lab.llvm.org/green/job/test-suite-verify-machineinstrs-x86_64-O3/8193/
More information about the All-commits
mailing list