[PATCH] D32416: [x86, SSE] AVX1 PR28129

Dinar Temirbulatov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 23 23:58:14 PDT 2017


dtemirbulatov added a comment.

here is test-case:
define <4 x double> @cmp256_domain(<4 x double> %a) {

  %cmp = fcmp oeq <4 x double> zeroinitializer, zeroinitializer
  %sext = sext <4 x i1> %cmp to <4 x i64>
  %mask = bitcast <4 x i64> %sext to <4 x double>
  %add = fadd <4 x double> %a, %mask
  ret <4 x double> %add

}
So, we are changing "immAllOnesV" for 256-bit vectors only for AVX1 machine.


https://reviews.llvm.org/D32416





More information about the llvm-commits mailing list