diff options
| author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-06-25 00:44:46 +0000 |
|---|---|---|
| committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-06-25 00:44:46 +0000 |
| commit | f1eccbecf8c70c731ff125f8f076231084d580bb (patch) | |
| tree | 864d93fa232959214e158a51b8a0c2205b06f97a /llvm/lib/Target/TargetSubtargetInfo.cpp | |
| parent | cee6d1bb3c2c0c3fa0f6177db83036b6b7b5c707 (diff) | |
| download | bcm5719-llvm-f1eccbecf8c70c731ff125f8f076231084d580bb.tar.gz bcm5719-llvm-f1eccbecf8c70c731ff125f8f076231084d580bb.zip | |
[X86] Accept hasAVX512() as well as hasFMA() when generating FMA.
We don't always have FMA, for example when using 'clang -mavx512f'
without an explicit CPU.
Also check for an explicit +avx512f instead of CPUs in a couple
related tests.
llvm-svn: 240616
Diffstat (limited to 'llvm/lib/Target/TargetSubtargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions

