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:
dd8580f
)
[X86] Replace call to isTruncStoreLegalOrCustom with isTruncStoreLegal. NFC
author
Craig Topper
<craig.topper@intel.com>
Mon, 12 Aug 2019 19:26:22 +0000
(19:26 +0000)
committer
Craig Topper
<craig.topper@intel.com>
Mon, 12 Aug 2019 19:26:22 +0000
(19:26 +0000)
We have no custom trunc stores on X86.
llvm-svn: 368606
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
54d2ac3
..
bacb7ab
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/
llvm/lib/Target/X86/X86ISelLowering.cpp
@@
-39633,7
+39633,7
@@
static SDValue combineStore(SDNode *N, SelectionDAG &DAG,
if (!St->isTruncatingStore() && VT == MVT::v16i8 && !Subtarget.hasBWI() &&
St->getValue().getOpcode() == ISD::TRUNCATE &&
St->getValue().getOperand(0).getValueType() == MVT::v16i16 &&
- TLI.isTruncStoreLegal
OrCustom
(MVT::v16i32, MVT::v16i8) &&
+ TLI.isTruncStoreLegal(MVT::v16i32, MVT::v16i8) &&
!DCI.isBeforeLegalizeOps()) {
SDValue Ext = DAG.getNode(ISD::ANY_EXTEND, dl, MVT::v16i32, St->getValue());
return DAG.getTruncStore(St->getChain(), dl, Ext, St->getBasePtr(),