summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/default-constructor
diff options
context:
space:
mode:
authorDavid Bolvansky <david.bolvansky@gmail.com>2018-08-23 15:22:15 +0000
committerDavid Bolvansky <david.bolvansky@gmail.com>2018-08-23 15:22:15 +0000
commit43b0e2584706c5c0efc86ea099ba8b54bb64743f (patch)
tree65f01c77cd68ca4fff904f626ee1fb22c94e08fe /lldb/packages/Python/lldbsuite/test/python_api/default-constructor
parent3ecabd709f7d7031df9368d27d0b300460d51cf1 (diff)
downloadbcm5719-llvm-43b0e2584706c5c0efc86ea099ba8b54bb64743f.tar.gz
bcm5719-llvm-43b0e2584706c5c0efc86ea099ba8b54bb64743f.zip
[InstCombine] Fold Select with binary op - FP opcodes
Summary: Follow up for https://reviews.llvm.org/rL339520 and https://reviews.llvm.org/rL338300 Alive: ``` %A = fcmp oeq float %x, 0.0 %B = fadd nsz float %x, %z %C = select i1 %A, float %B, float %y => %C = select i1 %A, float %z, float %y ---------- %A = fcmp oeq float %x, 0.0 %B = fadd nsz float %x, %z %C = select %A, float %B, float %y => %C = select %A, float %z, float %y Done: 1 Optimization is correct %A = fcmp une float %x, -0.0 %B = fadd nsz float %x, %z %C = select i1 %A, float %y, float %B => %C = select i1 %A, float %y, float %z ---------- %A = fcmp une float %x, -0.0 %B = fadd nsz float %x, %z %C = select %A, float %y, float %B => %C = select %A, float %y, float %z Done: 1 Optimization is correct ``` Reviewers: spatel, lebedev.ri Reviewed By: spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D50714 llvm-svn: 340538
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/default-constructor')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud