commit | 812e02a74c0afb8bce8bf7ac7cc606ace188e30d | [log] [tgz] |
---|---|---|
author | Alex MacLean <amaclean@nvidia.com> | Fri Mar 28 14:13:36 2025 -0700 |
committer | GitHub <noreply@github.com> | Fri Mar 28 14:13:36 2025 -0700 |
tree | 593b0e838d7b9997b7f45bf667aefb6283b53126 | |
parent | c0952a931c7d556ca9f0073d86d591a37eb60477 [diff] |
[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.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.