diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp b/llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp --- a/llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp @@ -728,7 +728,7 @@ APInt DemandedElts, int DMaskIdx = -1) { - auto *IIVTy = cast(II.getType()); + auto *IIVTy = cast(II.getType()); unsigned VWidth = IIVTy->getNumElements(); if (VWidth == 1) return nullptr;