[Hexagon] Make memcpy lowering thread-safe
authorTobias Edler von Koch <tobias@codeaurora.org>
Wed, 16 Dec 2015 17:29:37 +0000 (17:29 +0000)
committerTobias Edler von Koch <tobias@codeaurora.org>
Wed, 16 Dec 2015 17:29:37 +0000 (17:29 +0000)
commit1a519052e2e91f1024a92c60f44064c17bde63cd
tree4cacc262267b3a12a0ebdbab928cf111125af190
parent35c68def46dd6280e69c5880fbe5188e5fd9c4fd
[Hexagon] Make memcpy lowering thread-safe

This removes an unpleasant hack involving a global variable for special
lowering of certain memcpy calls. These are now lowered as intended in
EmitTargetCodeForMemcpy in the same way that other targets do it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255785 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonISelLowering.cpp
lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp
lib/Target/Hexagon/HexagonTargetMachine.h
test/CodeGen/Hexagon/memcpy-likely-aligned.ll [new file with mode: 0644]