summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
diff options
context:
space:
mode:
authorDaniel Neilson <dneilson@azul.com>2018-05-11 20:04:50 +0000
committerDaniel Neilson <dneilson@azul.com>2018-05-11 20:04:50 +0000
commitf6651d4d9438e185ae92c55978c11700dce45cee (patch)
treeb0592b3f7194052a7262556b6054b01acf44b9ec /llvm/lib/Transforms/InstCombine/InstCombineInternal.h
parentb262a0489b095a3e4470a6503ca3071390b3c60c (diff)
downloadbcm5719-llvm-f6651d4d9438e185ae92c55978c11700dce45cee.tar.gz
bcm5719-llvm-f6651d4d9438e185ae92c55978c11700dce45cee.zip
[InstCombine] Handle atomic memset in the same way as regular memset
Summary: This change adds handling of the atomic memset intrinsic to the code path that simplifies the regular memset. In practice this means that we will now also expand a small constant-length atomic memset into a single unordered atomic store. Reviewers: apilipenko, skatkov, mkazantsev, anna, reames Reviewed By: reames Subscribers: reames, llvm-commits Differential Revision: https://reviews.llvm.org/D46660 llvm-svn: 332132
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineInternal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
index b597957eeae..a3a485c2111 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -825,7 +825,7 @@ private:
bool SimplifyStoreAtEndOfBlock(StoreInst &SI);
Instruction *SimplifyAnyMemTransfer(AnyMemTransferInst *MI);
- Instruction *SimplifyMemSet(MemSetInst *MI);
+ Instruction *SimplifyAnyMemSet(AnyMemSetInst *MI);
Value *EvaluateInDifferentType(Value *V, Type *Ty, bool isSigned);
OpenPOWER on IntegriCloud