[PATCH] D48715: [X86] Fix some vector cmp builtins - TRUE/FALSE predicates

Gabor Buella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 28 02:34:19 PDT 2018


GBuella created this revision.
GBuella added reviewers: craig.topper, uriel.k, RKSimon, andrew.w.kaylor, spatel, scanon, efriedma.
Herald added a subscriber: cfe-commits.

This patch removes on optimization used with the TRUE/FALSE
predicates, as was suggested in https://reviews.llvm.org/D45616
for r335339.
The optimization was buggy, since r335339 used it also
for *_mask builtins, without actually applying the mask -- the
mask argument was just ignored.


Repository:
  rC Clang

https://reviews.llvm.org/D48715

Files:
  lib/CodeGen/CGBuiltin.cpp
  test/CodeGen/avx-builtins.c
  test/CodeGen/avx512f-builtins.c
  test/CodeGen/avx512vl-builtins.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48715.153281.patch
Type: text/x-patch
Size: 14516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180628/8917d8a4/attachment-0001.bin>


More information about the cfe-commits mailing list