]> granicus.if.org Git - clang/commit
[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)
commit2bf3cc07f09341d5cb995efe8d84010ca3228253
tree54ed58858c94759fc0433ddc5b552d5f616924b2
parent7853d35ba79f9226ef77d5ca81a5bca85551a7ac
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349751 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/vecintrin.h
test/CodeGen/builtins-systemz-zvector2.c