mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-21 03:05:15 +00:00
[TTI] fixing a bug in the isLegalMaskedScatter API
isLegalMaskedScatter called the Gather version which is a bug. use test case is provided within the patch of AVX2 gathers at: https://reviews.llvm.org/D35772 Differential Revision: https://reviews.llvm.org/D35786 llvm-svn: 309260
This commit is contained in:
parent
4a193c9d63
commit
63de05fc82
@ -167,7 +167,7 @@ bool TargetTransformInfo::isLegalMaskedGather(Type *DataType) const {
|
||||
}
|
||||
|
||||
bool TargetTransformInfo::isLegalMaskedScatter(Type *DataType) const {
|
||||
return TTIImpl->isLegalMaskedGather(DataType);
|
||||
return TTIImpl->isLegalMaskedScatter(DataType);
|
||||
}
|
||||
|
||||
bool TargetTransformInfo::prefersVectorizedAddressing() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user