aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJackson Fellows <jtfellows@icloud.com>2021-01-19 22:41:45 +0000
committerMehdi Amini <joker.eph@gmail.com>2021-01-19 23:08:06 +0000
commit1bf2b1665b43e1a5090177486c8fa6374a4596a2 (patch)
tree77eff72a5c571252e6bdf3b99e6224adff2b00cb /clang/lib/Frontend/CompilerInvocation.cpp
parent96ef4f307df27f4e0946eb344bac2703017ad073 (diff)
downloadllvm-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