summaryrefslogtreecommitdiff
path: root/src/jit/simd.cpp
diff options
context:
space:
mode:
authorSergey Andreenko <seandree@microsoft.com>2019-03-27 10:22:18 -0700
committerGitHub <noreply@github.com>2019-03-27 10:22:18 -0700
commit6cb120cc74ca61fc314e3cc43007778d2aafd041 (patch)
tree9733371a7159fba777cfae6ac8b88805d68435de /src/jit/simd.cpp
parentaa077b43cc3a1911e67fc63eb592dd36caaa0d70 (diff)
downloadcoreclr-6cb120cc74ca61fc314e3cc43007778d2aafd041.tar.gz
coreclr-6cb120cc74ca61fc314e3cc43007778d2aafd041.tar.bz2
coreclr-6cb120cc74ca61fc314e3cc43007778d2aafd041.zip
Delete unused variables in jit. Part 2. (#23481)
* Clean `valuenum.cpp`. * Clean `emitarm64.cpp`. * Clean `lsraarm64.cpp`. * Clean `lsraarmarch.cpp`. * Clean `lowerarmarch.cpp`. * Clean `lower.cpp`. * Clean `ssabuilder.cpp`. * Clean `simd.cpp`. * Clear `simdcodegenxarch.cpp`. * Clean `lowerxarch.cpp`. * Clean `scopeinfo.cpp`. * Clean `hwintrinsiccodegenxarch.cpp`.
Diffstat (limited to 'src/jit/simd.cpp')
-rw-r--r--src/jit/simd.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/jit/simd.cpp b/src/jit/simd.cpp
index 128118466c..6c6de0ea03 100644
--- a/src/jit/simd.cpp
+++ b/src/jit/simd.cpp
@@ -2481,7 +2481,6 @@ GenTree* Compiler::impSIMDIntrinsic(OPCODE opcode,
unsigned initCount = argCount - 1;
unsigned elementCount = getSIMDVectorLength(size, baseType);
noway_assert(initCount == elementCount);
- GenTree* nextArg = op2;
// Build a GT_LIST with the N values.
// We must maintain left-to-right order of the args, but we will pop
@@ -2490,7 +2489,6 @@ GenTree* Compiler::impSIMDIntrinsic(OPCODE opcode,
GenTree* list = nullptr;
GenTree* firstArg = nullptr;
GenTree* prevArg = nullptr;
- int offset = 0;
bool areArgsContiguous = true;
for (unsigned i = 0; i < initCount; i++)
{
@@ -2651,7 +2649,6 @@ GenTree* Compiler::impSIMDIntrinsic(OPCODE opcode,
assert(op2->TypeGet() == TYP_REF);
GenTree* arrayRefForArgChk = op2;
GenTree* argRngChk = nullptr;
- GenTree* asg = nullptr;
if ((arrayRefForArgChk->gtFlags & GTF_SIDE_EFFECT) != 0)
{
op2 = fgInsertCommaFormTemp(&arrayRefForArgChk);
@@ -2756,7 +2753,6 @@ GenTree* Compiler::impSIMDIntrinsic(OPCODE opcode,
// op2 - VSmall
// op1 - byref of VLarge
assert(baseType == TYP_FLOAT);
- unsigned elementByteCount = 4;
GenTree* op4 = nullptr;
if (argCount == 4)