[all-commits] [llvm/llvm-project] 262eba: Revert "[ValueTracking] Make getStringLenth aware ...
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Wed Apr 13 10:17:48 PDT 2022
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2022-04-13 (Wed, 13 Apr 2022)
Revert "[ValueTracking] Make getStringLenth aware of strdup"
This reverts commit e810d558093cff40caaa1aff24d289c76c59916d.
The commit was not taken into account the fact that strduped string could be
modified. Checking if such modification happens would make the function very
costly, without a test case in mind it's not worth the effort.
More information about the All-commits