| commit | 24561f44df52fa792bac12a841f97c239a53b62f | [log] [tgz] |
|---|---|---|
| author | Benjamin Maxwell <benjamin.maxwell@arm.com> | Mon Dec 09 11:16:14 2024 +0000 |
| committer | GitHub <noreply@github.com> | Mon Dec 09 11:16:14 2024 +0000 |
| tree | c88ab799074892159338738cfa8c6f1889f7e07a | |
| parent | 99f6ca9b7bb7d794db9ac8ff519b4e60766f6a4b [diff] |
Reland "[InstSimplify] Add basic constant folding for `llvm.sincos`" (#119192) This calls into the existing constant folding for `llvm.sin` and `llvm.cos`, which currently does not fold for any non-finite values, so most tests are negative tests at the moment. Note: The constant folding does not consider the `afn` fast-math flag and will produce the same result regardless of if the flag is set. This is a reland of #114527 that updates the syntax of one of the tests from: `<float 1.000000e+00, float 1.000000e+00>` to `splat (float 1.000000e+00)`.
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.