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:
7320de5
)
Move the retrieval of VT after all of the early exits from PerformOrCombine that...
author
Michael Gottesman
<mgottesman@apple.com>
Sun, 19 Jan 2014 21:06:00 +0000
(21:06 +0000)
committer
Michael Gottesman
<mgottesman@apple.com>
Sun, 19 Jan 2014 21:06:00 +0000
(21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199612
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 27b2d0bb942d4e9f088c750bb2d3f59cd23908e6..195f11a82641f2ab42bf846517da7847d1c2f864 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-17967,7
+17967,6
@@
static SDValue PerformAndCombine(SDNode *N, SelectionDAG &DAG,
static SDValue PerformOrCombine(SDNode *N, SelectionDAG &DAG,
TargetLowering::DAGCombinerInfo &DCI,
const X86Subtarget *Subtarget) {
- EVT VT = N->getValueType(0);
if (DCI.isBeforeLegalizeOps())
return SDValue();
@@
-17977,6
+17976,7
@@
static SDValue PerformOrCombine(SDNode *N, SelectionDAG &DAG,
SDValue N0 = N->getOperand(0);
SDValue N1 = N->getOperand(1);
+ EVT VT = N->getValueType(0);
// look for psign/blend
if (VT == MVT::v2i64 || VT == MVT::v4i64) {