diff options
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringBase.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp index f2e4632..3aec704 100644 --- a/llvm/lib/CodeGen/TargetLoweringBase.cpp +++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp @@ -1035,6 +1035,10 @@ void TargetLoweringBase::initActions() { setOperationAction(ISD::SET_FPMODE, VT, Expand); } setOperationAction(ISD::RESET_FPMODE, MVT::Other, Expand); + + // This one by default will call __clear_cache unless the target + // wants something different. + setOperationAction(ISD::CLEAR_CACHE, MVT::Other, LibCall); } MVT TargetLoweringBase::getScalarShiftAmountTy(const DataLayout &DL, |