1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[LIR] Reuse variable. NFCI.

llvm-svn: 267761
This commit is contained in:
Ahmed Bougacha 2016-04-27 19:04:46 +00:00
parent efd557cecd
commit 837b4a5338

View File

@ -606,7 +606,7 @@ bool LoopIdiomRecognize::processLoopMemSet(MemSetInst *MSI,
return false;
// If we're not allowed to hack on memset, we fail.
if (!TLI->has(LibFunc::memset))
if (!HasMemset)
return false;
Value *Pointer = MSI->getDest();