diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-03-26 13:55:54 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-03-26 15:03:41 +0000 |
commit | e933c05cd2cb97974cfca9544ebbdb9af349d602 (patch) | |
tree | 66a477e87ac9b2921582addc974daf94aaa8471c /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 06bb8c9f202e37f215b26ca0dd9b2d8adaf5a83d (diff) | |
download | llvm-e933c05cd2cb97974cfca9544ebbdb9af349d602.zip llvm-e933c05cd2cb97974cfca9544ebbdb9af349d602.tar.gz llvm-e933c05cd2cb97974cfca9544ebbdb9af349d602.tar.bz2 |
[X86] Add fadd/fsub/fmul tests showing failure to concat operands together and perform as a wider vector
We don't want to concat fadd/fsub/fmul if both operands would need concatenating (as the fp op is usually cheaper than the concat), but if at least one operand is free to concat (i.e. constant or extracted from a wider vector), then we should try to concat the fp op.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions