aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineVerifier.cpp
diff options
context:
space:
mode:
authorVictor Perez <victor.perez@codeplay.com>2024-04-01 11:57:14 +0200
committerGitHub <noreply@github.com>2024-04-01 11:57:14 +0200
commit8827ff92b96d78ef455157574061d745df2909af (patch)
tree2a2885f19db51baeba13b6a8594975d396084f34 /llvm/lib/CodeGen/MachineVerifier.cpp
parentda1d3d8fb9e7dba1cc89327f5119fa7c0cadef81 (diff)
downloadllvm-8827ff92b96d78ef455157574061d745df2909af.zip
llvm-8827ff92b96d78ef455157574061d745df2909af.tar.gz
llvm-8827ff92b96d78ef455157574061d745df2909af.tar.bz2
[MLIR][Arith] Add rounding mode attribute to `truncf` (#86152)
Add rounding mode attribute to `arith`. This attribute can be used in different FP `arith` operations to control rounding mode. Rounding modes correspond to IEEE 754-specified rounding modes. Use in `arith.truncf` folding. As this is not supported in dialects other than LLVM, conversion should fail for now in case this attribute is present. --------- Signed-off-by: Victor Perez <victor.perez@codeplay.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions