aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/IRObjectFile.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-06-08 19:47:25 +0000
committerSanjay Patel <spatel@rotateright.com>2017-06-08 19:47:25 +0000
commit5e370850d451bf78c1f393ec9e3cdabb2a050b40 (patch)
treec2f991e74850eac47f37eaa0aae63c052c272d22 /llvm/lib/Object/IRObjectFile.cpp
parent3271d3704a5dc3b5079f5ae1aba24e4c55c3908d (diff)
downloadllvm-5e370850d451bf78c1f393ec9e3cdabb2a050b40.zip
llvm-5e370850d451bf78c1f393ec9e3cdabb2a050b40.tar.gz
llvm-5e370850d451bf78c1f393ec9e3cdabb2a050b40.tar.bz2
[CGP] don't expand a memcmp with nobuiltin attribute
This matches the behavior used in the SDAG when expanding memcmp. For reference, we're intentionally treating the earlier fortified call transforms differently after: https://bugs.llvm.org/show_bug.cgi?id=23093 https://reviews.llvm.org/rL233776 One motivation for not transforming nobuiltin calls is that it can interfere with sanitizers: https://reviews.llvm.org/D19781 https://reviews.llvm.org/D19801 Differential Revision: https://reviews.llvm.org/D34043 llvm-svn: 305007
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions