aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorChristian Sigg <csigg@google.com>2022-01-31 14:07:25 +0100
committerChristian Sigg <csigg@google.com>2022-01-31 19:31:48 +0100
commitf278cf9cbc3edbd4441da87e23e703d9a331c994 (patch)
tree690de41f165d0f1a7c72540a2a9deb5420e15f2f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent23091f7d504afde4bba3fc885718a1633746e063 (diff)
downloadllvm-f278cf9cbc3edbd4441da87e23e703d9a331c994.zip
llvm-f278cf9cbc3edbd4441da87e23e703d9a331c994.tar.gz
llvm-f278cf9cbc3edbd4441da87e23e703d9a331c994.tar.bz2
[MLIR][arith] More float op folders
Fold `arith.fadd %x, -0.0 -> %x` and similarly for `fsub`, `fmul`, `fdiv`. Fold `arith.fmin %x, %x -> %x`, `arith.fmin %x, +inf -> %x` and similarly for `fmax`. Reviewed By: pifon2a, mehdi_amini, bondhugula Differential Revision: https://reviews.llvm.org/D118244
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions