diff options
| author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-08-01 00:14:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-01 00:14:29 +0800 |
| commit | b455edbc4566dca5a367122eadd0bae9058fbd7b (patch) | |
| tree | a2d476c356ad7f010355b32ec092ea9467005830 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 8b2688bd173e79392927bcaed91855e7c4db8eaa (diff) | |
[InstCombine] Recognize copysign idioms (#101324)
This patch folds `(bitcast (or (and (bitcast X to int), signmask), nneg
Y) to fp)` into `copysign((bitcast Y to fp), X)`. I found this pattern
exists in some graphics applications/math libraries.
Alive2: https://alive2.llvm.org/ce/z/ggQZV2
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
