mirror-llvm-project/llvm
Ramkumar Ramachandra 278261413b
[InstSimplify] Defer to ConstantFold in simplifyInstrinsic (#205061)
Defer to ConstantFolding on all-constant operands, in
llvm::simplifyIntrinsic. The patch adds a context-function argument to
ConstantFoldIntrinsic for strictfp information, which is used by a new
canConstantFoldIntrinsic under canConstantFoldCallTo: it was
necessitated by exposing the constant-folder via
llvm::simplifyIntrinsic. The patch only has impact on passes that use
simplifyIntrinsic via InstSimplifyFolder, other than InstCombine, which
already constant-folds intrinsics.
2026-08-01 19:24:50 +00:00
..
benchmarks [ADT] Add single-pass merge for ImmutableSet/ImmutableMap (#209807) 2026-07-21 12:33:28 +01:00
bindings [IR] Remove deprecated BranchInst (#212095) 2026-07-26 19:07:01 +02:00
cmake [Darwin][tests] Partially restore some of the change in #212329 (#212826) 2026-07-29 17:56:05 +00:00
docs [RISCV][MC] Add experimental Smcsps and Sscsps support (#211712) 2026-08-01 11:05:22 +08:00
examples
include [InstSimplify] Defer to ConstantFold in simplifyInstrinsic (#205061) 2026-08-01 19:24:50 +00:00
lib [InstSimplify] Defer to ConstantFold in simplifyInstrinsic (#205061) 2026-08-01 19:24:50 +00:00
projects
resources
runtimes [LLVM] Remove 'LLVM_LIBC_GPU_BUILD' logic (#211265) 2026-07-22 11:11:55 -05:00
test [InstSimplify] Defer to ConstantFold in simplifyInstrinsic (#205061) 2026-08-01 19:24:50 +00:00
tools [llubi] Truncate struct field offsets exceeding the pointer index width (#213471) 2026-08-01 19:10:45 +00:00
unittests [RISCV] Fix ISCVISAInfo::computeDefaultABI() result for xcheriot (#212129) 2026-08-01 05:45:19 +00:00
utils [lldb] Introduce the require decorator (#212753) 2026-08-01 18:03:29 +02:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [LLVM] Remove 'LLVM_LIBC_GPU_BUILD' logic (#211265) 2026-07-22 11:11:55 -05:00
CMakePresets.json
configure
CREDITS.TXT
LICENSE.TXT
Maintainers.md
README.txt
RELEASE_TESTERS.TXT

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.md for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.