From bc0aadce149d74a2773420c71bf269ad9809227d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 5 Oct 2007 14:09:33 +0000 Subject: [PATCH] SMUL_LOHI and UMUL_LOHI are commutative. llvm-svn: 42633 --- include/llvm/CodeGen/SelectionDAG.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 9a9445dbfb0..395bf14918d 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -457,6 +457,8 @@ public: case ISD::MUL: case ISD::MULHU: case ISD::MULHS: + case ISD::SMUL_LOHI: + case ISD::UMUL_LOHI: case ISD::FADD: case ISD::FMUL: case ISD::AND: