diff options
author | Dan Gohman <gohman@apple.com> | 2009-12-18 03:10:26 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-12-18 03:10:26 +0000 |
commit | 411984810e4a66591123e1b16873e5f19ae18817 (patch) | |
tree | 1096f23be5ece8717b0a6b5602649af6baac7133 /include/llvm/Support/NoFolder.h | |
parent | bdc46c6af5ffcf3596a72df75880fe8703436060 (diff) | |
download | llvm-411984810e4a66591123e1b16873e5f19ae18817.tar.gz llvm-411984810e4a66591123e1b16873e5f19ae18817.tar.bz2 llvm-411984810e4a66591123e1b16873e5f19ae18817.tar.xz |
Add utility routines for NSW multiply.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/NoFolder.h')
-rw-r--r-- | include/llvm/Support/NoFolder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/NoFolder.h b/include/llvm/Support/NoFolder.h index f6f4c5b3c8..78a9035b6c 100644 --- a/include/llvm/Support/NoFolder.h +++ b/include/llvm/Support/NoFolder.h @@ -60,6 +60,9 @@ public: Value *CreateMul(Constant *LHS, Constant *RHS) const { return BinaryOperator::CreateMul(LHS, RHS); } + Value *CreateNSWMul(Constant *LHS, Constant *RHS) const { + return BinaryOperator::CreateNSWMul(LHS, RHS); + } Value *CreateFMul(Constant *LHS, Constant *RHS) const { return BinaryOperator::CreateFMul(LHS, RHS); } |