summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2011-11-07 17:09:05 +0000
committerRichard Osborne <richard@xmos.com>2011-11-07 17:09:05 +0000
commit19a4daff9bbe18dab2620e25ac6cbf0635639ec6 (patch)
tree05118455ac2ba25aeb1d8950f99582209cc31cec /include
parent76a4e1a0682c8e855f8b7c0a05d802dce8c07d7a (diff)
downloadllvm-19a4daff9bbe18dab2620e25ac6cbf0635639ec6.tar.gz
llvm-19a4daff9bbe18dab2620e25ac6cbf0635639ec6.tar.bz2
llvm-19a4daff9bbe18dab2620e25ac6cbf0635639ec6.tar.xz
Don't introduce custom nodes after legalization in TargetLowering::BuildSDIV()
and TargetLowering::BuildUDIV(). Fixes PR11283 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetLowering.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 1dbd076d64..c81e83950d 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -1595,9 +1595,9 @@ public:
//
SDValue BuildExactSDIV(SDValue Op1, SDValue Op2, DebugLoc dl,
SelectionDAG &DAG) const;
- SDValue BuildSDIV(SDNode *N, SelectionDAG &DAG,
+ SDValue BuildSDIV(SDNode *N, SelectionDAG &DAG, bool IsAfterLegalization,
std::vector<SDNode*>* Created) const;
- SDValue BuildUDIV(SDNode *N, SelectionDAG &DAG,
+ SDValue BuildUDIV(SDNode *N, SelectionDAG &DAG, bool IsAfterLegalization,
std::vector<SDNode*>* Created) const;