projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bdab3b
)
[X86] Convert to MVT instead of calling EVT functions since we already know the type...
author
Craig Topper
<craig.topper@gmail.com>
Sat, 31 Oct 2015 18:14:17 +0000
(18:14 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sat, 31 Oct 2015 18:14:17 +0000
(18:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251745
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index 1733172cddaaf1c98f35808a9a18327024127086..c663a53c9948c088fceea6276bf17e728ea0d0eb 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-20324,11
+20324,11
@@
X86TargetLowering::isShuffleMaskLegal(const SmallVectorImpl<int> &M,
return false;
// Not for i1 vectors
- if (VT.getScalarType() == MVT::i1)
+ if (VT.getS
impleVT().getS
calarType() == MVT::i1)
return false;
// Very little shuffling can be done for 64-bit vectors right now.
- if (VT.getSizeInBits() == 64)
+ if (VT.getSi
mpleVT().getSi
zeInBits() == 64)
return false;
// We only care that the types being shuffled are legal. The lowering can