diff options
author | Guozhi Wei <carrot@google.com> | 2021-06-18 18:01:34 -0700 |
---|---|---|
committer | Guozhi Wei <carrot@google.com> | 2021-06-18 18:01:34 -0700 |
commit | 575ba6f42560002807dd6382ffc83abc1b6b9b50 (patch) | |
tree | bf1263469bebed4b3bc0ed43cf2da18cd43aa2a2 /libcxx/include/__algorithm/replace.h | |
parent | c9b241efd68c5a0f1f67e9250960ade454f3bc11 (diff) | |
download | llvm-575ba6f42560002807dd6382ffc83abc1b6b9b50.zip llvm-575ba6f42560002807dd6382ffc83abc1b6b9b50.tar.gz llvm-575ba6f42560002807dd6382ffc83abc1b6b9b50.tar.bz2 |
[InstCombine] Don't transform code if DoTransform is false
In patch https://reviews.llvm.org/D72396, it doesn't check DoTransform before transforming the code, and generates wrong result for the attached test case.
Differential Revision: https://reviews.llvm.org/D104567
Diffstat (limited to 'libcxx/include/__algorithm/replace.h')
0 files changed, 0 insertions, 0 deletions