diff options
author | Jackson Fellows <jtfellows@icloud.com> | 2021-01-19 22:41:45 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2021-01-19 23:08:06 +0000 |
commit | 1bf2b1665b43e1a5090177486c8fa6374a4596a2 (patch) | |
tree | 77eff72a5c571252e6bdf3b99e6224adff2b00cb /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 96ef4f307df27f4e0946eb344bac2703017ad073 (diff) | |
download | llvm-1bf2b1665b43e1a5090177486c8fa6374a4596a2.zip llvm-1bf2b1665b43e1a5090177486c8fa6374a4596a2.tar.gz llvm-1bf2b1665b43e1a5090177486c8fa6374a4596a2.tar.bz2 |
Implement constant folding for DivFOp
Add a constant folder for DivFOp. Analogous to existing folders for
AddFOp, SubFOp, and MulFOp. Matches the behavior of existing LLVM
constant folding (https://github.com/llvm/llvm-project/blob/999f5da6b3088fa4c0bb9d05b358d015ca74c71f/llvm/lib/IR/ConstantFold.cpp#L1432).
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D94939
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions