aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorAlex MacLean <amaclean@nvidia.com>2025-03-28 14:13:36 -0700
committerGitHub <noreply@github.com>2025-03-28 14:13:36 -0700
commit812e02a74c0afb8bce8bf7ac7cc606ace188e30d (patch)
tree593b0e838d7b9997b7f45bf667aefb6283b53126 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parentc0952a931c7d556ca9f0073d86d591a37eb60477 (diff)
downloadllvm-812e02a74c0afb8bce8bf7ac7cc606ace188e30d.zip
llvm-812e02a74c0afb8bce8bf7ac7cc606ace188e30d.tar.gz
llvm-812e02a74c0afb8bce8bf7ac7cc606ace188e30d.tar.bz2
[NVPTX] Use fast-math flags when lowering sin, cos, frem (#133121)
Update the lowering rules for sin, cos, and frem to respect the instruction-level flags in addition to the global and function-level options. For sin and cos, the TableGen lowering has been updated to check the `afn` flag on the node. The lowering for frem has been pulled to custom instruction legalization in order to allow for DAG Combiner optimizations to operate over the expanded instructions.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions