Change all checks regarding the presence of any SSE level to always
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 15 Sep 2011 18:27:36 +0000 (18:27 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 15 Sep 2011 18:27:36 +0000 (18:27 +0000)
commit0c4b9ff0775c8d15242f65dc4a7ab98f04bd5d68
tree3fbcc7099f828a6bad99a757eee6e772320546d1
parent41a9635292a069934f0674faca744118d4d25c5a
Change all checks regarding the presence of any SSE level to always
take into consideration the presence of AVX. This change, together with
the SSEDomainFix enabled for AVX, makes AVX codegen to always (hopefully)
emit the same code as SSE for 128-bit vector ops. I don't
have a testcase for this, but AVX now beats SSE in performance for
128-bit ops in the majority of programas in the llvm testsuite

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139817 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx-basic.ll