diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2006-10-17 21:05:33 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2006-10-17 21:05:33 +0000 |
commit | ba8f2961677b5d97f2237be50c05acef85b12d65 (patch) | |
tree | f93d0b371c1415ed416985fb051ac722a5f2a00a /llvm/lib | |
parent | 3968263ca89de5c8f1a38885b9a1a13694c916b8 (diff) | |
download | bcm5719-llvm-ba8f2961677b5d97f2237be50c05acef85b12d65.tar.gz bcm5719-llvm-ba8f2961677b5d97f2237be50c05acef85b12d65.zip |
expand ISD::SDIV, ISD::UDIV, ISD::SREM and ISD::UREM
llvm-svn: 31014
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp index 13dd33cc902..72d25c8dcf6 100644 --- a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -75,6 +75,10 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) setOperationAction(ISD::SHL_PARTS, MVT::i32, Expand); setOperationAction(ISD::SRA_PARTS, MVT::i32, Expand); setOperationAction(ISD::SRL_PARTS, MVT::i32, Expand); + setOperationAction(ISD::SDIV, MVT::i32, Expand); + setOperationAction(ISD::UDIV, MVT::i32, Expand); + setOperationAction(ISD::SREM, MVT::i32, Expand); + setOperationAction(ISD::UREM, MVT::i32, Expand); setOperationAction(ISD::VASTART, MVT::Other, Custom); setOperationAction(ISD::VAEND, MVT::Other, Expand); |