diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2025-04-24 00:12:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-24 00:12:30 +0800 |
commit | 8abc917fe04140b6c6088a67e0398f637efde808 (patch) | |
tree | a1a2a0205c0720450ad2673c0e3a807e3521820d /clang/unittests/libclang/LibclangTest.cpp | |
parent | 2e389cb9aae0e9734fc8e16f6ebc6edb392d79a9 (diff) | |
download | llvm-8abc917fe04140b6c6088a67e0398f637efde808.zip llvm-8abc917fe04140b6c6088a67e0398f637efde808.tar.gz llvm-8abc917fe04140b6c6088a67e0398f637efde808.tar.bz2 |
[InstCombine] Do not fold logical is_finite test (#136851)
This patch disables the fold for logical is_finite test (i.e., `and
(fcmp ord x, 0), (fcmp u* x, inf) -> fcmp o* x, inf`).
It is still possible to allow this fold for several logical cases (e.g.,
`stripSignOnlyFPOps(RHS0)` does not strip any operations). Since this
patch has no real-world impact, I decided to disable this fold for all
logical cases.
Alive2: https://alive2.llvm.org/ce/z/aH4LC7
Closes https://github.com/llvm/llvm-project/issues/136650.
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions