diff options
author | Zahi Moudallal <zahi@openai.com> | 2025-02-21 15:37:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-21 15:37:19 -0800 |
commit | 5d0c5c638ad2f34552f1188c6e9b9ff5406580f9 (patch) | |
tree | ab0da670827b5bb703c34aaaebd805107895db0f /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 6038fd44d4007d818ab024c2d3a18ef8006d2cff (diff) | |
download | llvm-5d0c5c638ad2f34552f1188c6e9b9ff5406580f9.zip llvm-5d0c5c638ad2f34552f1188c6e9b9ff5406580f9.tar.gz llvm-5d0c5c638ad2f34552f1188c6e9b9ff5406580f9.tar.bz2 |
[MLIR][ARITH] Adds missing foldings for truncf (#128096)
This patch is mainly to deal with folding `truncf`, as follows:
`truncf(extf(a))` -> `a`, if `a` has the same bitwidth as the result
`truncf(extf(a))` -> `truncf(a)`, if `a` has larger bitwidth than the
result
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions