diff options
| author | Cameron Zwarich <zwarich@apple.com> | 2011-04-13 21:01:19 +0000 |
|---|---|---|
| committer | Cameron Zwarich <zwarich@apple.com> | 2011-04-13 21:01:19 +0000 |
| commit | 415b5e8341223cbaa9dc7cbf9a423cd1abc474b1 (patch) | |
| tree | 11830f2903ec922a63f5df5234304d3c38eb047f /llvm/lib/Target | |
| parent | aabc142fce58767901023dde269ee91f105a3b4b (diff) | |
| download | bcm5719-llvm-415b5e8341223cbaa9dc7cbf9a423cd1abc474b1.tar.gz bcm5719-llvm-415b5e8341223cbaa9dc7cbf9a423cd1abc474b1.zip | |
Fix a typo in an ARM-specific DAG combine. This fixes <rdar://problem/9278274>.
llvm-svn: 129468
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 563b37e6cba..d5f65c7abff 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -5474,7 +5474,7 @@ static SDValue PerformORCombine(SDNode *N, EVT CanonicalVT = VT.is128BitVector() ? MVT::v4i32 : MVT::v2i32; SDValue Result = DAG.getNode(ARMISD::VBSL, dl, CanonicalVT, N0->getOperand(1), N0->getOperand(0), - N1->getOperand(1)); + N1->getOperand(0)); return DAG.getNode(ISD::BITCAST, dl, VT, Result); } } |

