mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 06:06:19 +00:00
Nate pointed out that mulh[us] are commutative as well. Thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23500 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a1a68ae061
commit
645992f595
@ -113,8 +113,8 @@ def sub : SDNode<"ISD::SUB" , SDTBinOp>;
|
||||
def mul : SDNode<"ISD::MUL" , SDTBinOp , [SDNPCommutative]>;
|
||||
def sdiv : SDNode<"ISD::SDIV" , SDTBinOp>;
|
||||
def udiv : SDNode<"ISD::UDIV" , SDTIntBinOp>;
|
||||
def mulhs : SDNode<"ISD::MULHS" , SDTIntBinOp>;
|
||||
def mulhu : SDNode<"ISD::MULHU" , SDTIntBinOp>;
|
||||
def mulhs : SDNode<"ISD::MULHS" , SDTIntBinOp, [SDNPCommutative]>;
|
||||
def mulhu : SDNode<"ISD::MULHU" , SDTIntBinOp, [SDNPCommutative]>;
|
||||
def sext_inreg : SDNode<"ISD::SIGN_EXTEND_INREG", SDTExtInreg>;
|
||||
def ctlz : SDNode<"ISD::CTLZ" , SDTIntUnaryOp>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user