aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2021-02-04 12:07:59 +0000
committerFraser Cormack <fraser@codeplay.com>2021-02-16 10:21:09 +0000
commitb8701990202cd305236401f76331d53e65953ef2 (patch)
treeaf4c5f3f4c95c13c3d79fb0b404d6c7cd4eef023 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parentdf22133a8a402ed2d31ff92482678c5092792e66 (diff)
downloadllvm-b8701990202cd305236401f76331d53e65953ef2.zip
llvm-b8701990202cd305236401f76331d53e65953ef2.tar.gz
llvm-b8701990202cd305236401f76331d53e65953ef2.tar.bz2
[RISCV] Add patterns for scalable-vector fabs & fcopysign
The patterns mostly follow the scalar counterparts, save for some extra optimizations to match the vector/scalar forms. The patch adds a DAGCombine for ISD::FCOPYSIGN to try and reorder ISD::FNEG around any ISD::FP_EXTEND or ISD::FP_TRUNC of the second operand. This helps us achieve better codegen to match vfsgnjn. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D96028
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions