[SystemZ] Fix wrong codegen caused by typos in vecintrin.h
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 20 Dec 2018 13:09:09 +0000 (13:09 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 20 Dec 2018 13:09:09 +0000 (13:09 +0000)
commit22ca9c628a2f2c1421105a48284329d70a4d572d
treedeb8bbe397237813775c5d37035291d0283d326d
parentb2d7e269d5ea5db3ba8ed2dd3b832e8eef661e6c
[SystemZ] Fix wrong codegen caused by typos in vecintrin.h

The following two bugs in SystemZ high-level vector intrinsics are
fixes by this patch:

- The float case of vec_insert_and_zero should generate a VLLEZF
  pattern, but currently erroneously generates VLLEZLF.

- The float and double versions of vec_orc erroneously generate
  and-with-complement instead of or-with-complement.

The patch also fixes a couple of typos in the associated test.

llvm-svn: 349751
clang/lib/Headers/vecintrin.h
clang/test/CodeGen/builtins-systemz-zvector2.c