diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-08-27 22:24:56 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-08-27 22:24:56 +0000 |
commit | 68bf64e302b5fb87a1943101828a489b5ca1fc46 (patch) | |
tree | 8aea8f1f5e3318a875cd19a553867674d92ca37c /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | ee03b5bbb9a45a6e3778c04a815219c4f904e0ee (diff) | |
download | llvm-68bf64e302b5fb87a1943101828a489b5ca1fc46.zip llvm-68bf64e302b5fb87a1943101828a489b5ca1fc46.tar.gz llvm-68bf64e302b5fb87a1943101828a489b5ca1fc46.tar.bz2 |
[X86] Use AVX features instead of ABI to init. SimdDefaultAlign.
The ABI string only exists to communicate with TargetCodeGenInfo.
Concretely, since we only used "avx*" ABI strings on x86_64 (as AVX
doesn't affect the i386 ABIs), this meant that, when initializing
SimdDefaultAlign, we would ignore AVX/AVX512 on i386, for no good
reason.
Instead, directly check the features. A similar change for
MaxVectorAlign will follow.
Differential Revision: http://reviews.llvm.org/D12390
llvm-svn: 246228
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions