forked from OSchip/llvm-project
[AMDGPU] Fix -Wunused-variable after rL352978
llvm-svn: 352982
This commit is contained in:
parent
aaa709f2ec
commit
b21ed3c57a
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue