projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57286af
)
[X86] Disable custom type legalization for v2i32/v4i16/v8i8->i64.
author
Craig Topper
<craig.topper@intel.com>
Thu, 15 Aug 2019 05:51:58 +0000
(
05:51
+0000)
committer
Craig Topper
<craig.topper@intel.com>
Thu, 15 Aug 2019 05:51:58 +0000
(
05:51
+0000)
The default legalization can take care of this.
llvm-svn: 368967
llvm/lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86ISelLowering.cpp
b/llvm/lib/Target/X86/X86ISelLowering.cpp
index
d232cb1
..
4779743
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/
llvm/lib/Target/X86/X86ISelLowering.cpp
@@
-26200,8
+26200,7
@@
static SDValue LowerBITCAST(SDValue Op, const X86Subtarget &Subtarget,
SrcVT == MVT::i64) && "Unexpected VT!");
assert(Subtarget.hasSSE2() && "Requires at least SSE2!");
- if (DstVT != MVT::i64 &&
- !(DstVT == MVT::f64 && SrcVT == MVT::i64) &&
+ if (!(DstVT == MVT::f64 && SrcVT == MVT::i64) &&
!(DstVT == MVT::x86mmx && SrcVT.isVector()))
// This conversion needs to be expanded.
return SDValue();