diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp index e3d6b7941ee..1f53af1b505 100644 --- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp +++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp @@ -830,8 +830,7 @@ static MVT memVTFromAggregate(Type *Ty) { NumElts = 1; } - Type *FlagComponent = Ty->getContainedType(1); - assert(FlagComponent->isIntegerTy(32) && "Expected int32 type"); + assert(Ty->getContainedType(1)->isIntegerTy(32) && "Expected int32 type"); // Calculate the size of the memVT type from the aggregate unsigned Pow2Elts = 0; |

