OSDN Git Service

[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)
commit22d8eff14e23406a66d04e2636284f79ef533b81
tree5664847ad47773f87f29302a9e512028bc541e6f
parentfc0acb9eb760222e026112ebe6fe2904cb90f082
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352240 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/RISCV/double-bitmanip-dagcombines.ll
test/CodeGen/RISCV/float-bitmanip-dagcombines.ll