[PATCH] [AArch64] Don't combine "select (setcc i1 LHS, RHS), vL, vR".

Ahmed Bougacha ahmed.bougacha at gmail.com
Tue Nov 18 06:41:08 PST 2014


Hi t.p.northover,

r208210 introduced an optimization that improves the vector select
codegen by doing the setcc on vectors directly.
This is a problem when the setcc operands are i1s, because the
optimization would create vectors of i1, which aren't legal.

Part of PR21549.

http://reviews.llvm.org/D6308

Files:
  lib/Target/AArch64/AArch64ISelLowering.cpp
  test/CodeGen/AArch64/arm64-neon-select_cc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6308.16332.patch
Type: text/x-patch
Size: 1654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141118/0f97abc7/attachment.bin>


More information about the llvm-commits mailing list