[AMDGPU] Fix -Wunused-variable after rL352978

llvm-svn: 352982
This commit is contained in:
Fangrui Song 2019-02-03 03:51:52 +00:00
parent aaa709f2ec
commit b21ed3c57a
1 changed files with 0 additions and 1 deletions

View File

@ -443,7 +443,6 @@ AMDGPULegalizerInfo::AMDGPULegalizerInfo(const GCNSubtarget &ST,
})
.widenScalarIf(
[=](const LegalityQuery &Query) {
const LLT &Ty0 = Query.Types[0];
const LLT &Ty1 = Query.Types[1];
return (Ty1.getScalarSizeInBits() < 16);
},