[PATCH] D11123: ARM: Fix cttz expansion on vector types.

Logan Chien tzuhsiang.chien at gmail.com
Sun Jul 12 04:16:05 PDT 2015


logan created this revision.
logan added reviewers: t.p.northover, grosbach, rengolin, chh.
logan added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

The 64/128-bit vector types will be treated as legal type when NEON is
enabled, but there was no matching pattern for @llvm.cttz.*()
intrinsics.  This commit fix the problem by lowering cttz to ctpop or
ctlz.

http://reviews.llvm.org/D11123

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  test/CodeGen/ARM/cttz.ll
  test/CodeGen/ARM/cttz_vector.ll
  test/CodeGen/ARM/ctz.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11123.29521.patch
Type: text/x-patch
Size: 15871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150712/24bfb425/attachment.bin>


More information about the llvm-commits mailing list