[PATCH] D42133: [AArch64] Improve code generation of vector mask build

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 14:20:38 PST 2018


evandro created this revision.
evandro added reviewers: fhahn, sdesmalen.
Herald added subscribers: hiraditya, kristof.beyls, javed.absar, rengolin.

Instead of using, for example, `mov w0, #0xffff; dup v0.4s, w0`, which transfers between register files, use the more efficient `movi v0.4s, #-1` instead.


Repository:
  rL LLVM

https://reviews.llvm.org/D42133

Files:
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/build-one-lane.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42133.130029.patch
Type: text/x-patch
Size: 7354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180116/8bdfb3b3/attachment.bin>


More information about the llvm-commits mailing list