[RISCV] Add another potential combine to {double,float}-bitmanip-dagcombines.ll
authorAlex Bradbury <asb@lowrisc.org>
Fri, 25 Jan 2019 21:06:47 +0000 (21:06 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Fri, 25 Jan 2019 21:06:47 +0000 (21:06 +0000)
commitd760910d3de7cbbebcef0fb012d1e6bebd1ee956
tree1ac30900bcbd3cdfadcf79059d4aeca414aeefc6
parent8bed74ba517465e2d7f90f8df6aaff418d771006
[RISCV] Add another potential combine to {double,float}-bitmanip-dagcombines.ll

(fcopysign a, (fneg b)) will be expanded to bitwise operations by
DAGTypeLegalizer::SoftenFloatRes_FCOPYSIGN if the floating point type isn't
legal. Arguably it might be worth doing a combine even if it is legal.

llvm-svn: 352240
llvm/test/CodeGen/RISCV/double-bitmanip-dagcombines.ll
llvm/test/CodeGen/RISCV/float-bitmanip-dagcombines.ll