[Hexagon] Remove unused variable (and silence a warning)
llvm-svn: 293331
This commit is contained in:
parent
453ab3522b
commit
35ce5dac7f
|
@ -1080,10 +1080,8 @@ int HexagonLoopIdiomRecognize::getSCEVStride(const SCEVAddRecExpr *S) {
|
|||
|
||||
|
||||
bool HexagonLoopIdiomRecognize::isLegalStore(Loop *CurLoop, StoreInst *SI) {
|
||||
bool IsVolatile = false;
|
||||
if (SI->isVolatile() && HexagonVolatileMemcpy)
|
||||
IsVolatile = true;
|
||||
else if (!SI->isSimple())
|
||||
// Allow volatile stores if HexagonVolatileMemcpy is enabled.
|
||||
if (!(SI->isVolatile() && HexagonVolatileMemcpy) && !SI->isSimple())
|
||||
return false;
|
||||
|
||||
Value *StoredVal = SI->getValueOperand();
|
||||
|
|
Loading…
Reference in New Issue