summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-01-10 22:53:20 +0000
committerLang Hames <lhames@gmail.com>2012-01-10 22:53:20 +0000
commit995c63329aad2bd11df02edc2c92762b0ac61e2b (patch)
treeb2ae87b4bd5f793f9ae523319a94fcc63ca34efd /llvm/lib
parent21ee88cc1c5926054cab61029c62ff5b5e440881 (diff)
downloadbcm5719-llvm-995c63329aad2bd11df02edc2c92762b0ac61e2b.tar.gz
bcm5719-llvm-995c63329aad2bd11df02edc2c92762b0ac61e2b.zip
Fixed order of operands in comment to match code.
llvm-svn: 147890
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index f153ef35cac..07451a5e749 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -13750,7 +13750,7 @@ static SDValue PerformOrCombine(SDNode *N, SelectionDAG &DAG,
// Canonicalize pandn to RHS
if (N0.getOpcode() == X86ISD::ANDNP)
std::swap(N0, N1);
- // or (and (m, x), (pandn m, y))
+ // or (and (m, y), (pandn m, x))
if (N0.getOpcode() == ISD::AND && N1.getOpcode() == X86ISD::ANDNP) {
SDValue Mask = N1.getOperand(0);
SDValue X = N1.getOperand(1);
OpenPOWER on IntegriCloud