diff options
Diffstat (limited to 'llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h')
| -rw-r--r-- | llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h b/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h index 994b6ec9c22..bd98c902d1a 100644 --- a/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h +++ b/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h @@ -32,6 +32,8 @@ struct DivRemMapKey { AssertingVH<Value> Dividend; AssertingVH<Value> Divisor; + DivRemMapKey() = default; + DivRemMapKey(bool InSignedOp, Value *InDividend, Value *InDivisor) : SignedOp(InSignedOp), Dividend(InDividend), Divisor(InDivisor) {} }; |

