mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Fix: Add support for TFE/LWE in image intrinsic
My change svn-id: 347871 caused a buildbot failure due to an unused variable def (used in an assert). Change-Id: Ia882d18bb6fa79b4d7bbfda422b9ea5d23eab336 llvm-svn: 347876
This commit is contained in:
parent
31b5fc8481
commit
aae321d253
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user